Created
April 10, 2018 14:30
-
-
Save fuzzygroup/cdfc12f244b833d715f04b4b698ded80 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MariaDB [rails_logs_development]> alter table log_entries add column wizard_key int | |
-> ; | |
Query OK, 0 rows affected (0.22 sec) | |
Records: 0 Duplicates: 0 Warnings: 0 | |
MariaDB [rails_logs_development]> Ctrl-C -- exit! | |
Aborted | |
ScottiMac:rails_logs sjohnson$ bundle exec rails c | |
DEPRECATION WARNING: ActiveSupport.halt_callback_chains_on_return_false= is deprecated and will be removed in Rails 5.2. (called from <top (required)> at /Users/sjohnson/fuzzygroup/hyde/coding_tests/rails_logs/config/initializers/new_framework_defaults.rb:21) | |
Loading development environment (Rails 5.1.4) | |
cannot load such file -- awesome_print | |
irb: warn: can't alias context from irb_context. | |
2.3.1 :001 > le = LogEntry.new | |
(0.5ms) SET NAMES utf8, @@SESSION.sql_mode = CONCAT(CONCAT(@@sql_mode, ',STRICT_ALL_TABLES'), ',NO_AUTO_VALUE_ON_ZERO'), @@SESSION.sql_auto_is_null = 0, @@SESSION.wait_timeout = 2147483 | |
=> #<LogEntry id: nil, created_at: nil, updated_at: nil, method: nil, ip_address: nil, body: nil, json: nil, status_code: nil, total_request_time: nil, view_request_time: nil, active_record_request_time: nil, api_time: nil, warning: false, path: nil, log_type: nil, output_type: nil, controller: nil, action: nil, api_view: nil, wizard_key: nil> | |
2.3.1 :002 > le.wizard_key = "asdf" | |
=> "asdf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment