Created
July 22, 2020 11:03
-
-
Save gemp/b12499558353e5a18d82442dfc9c2956 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
(0.7ms) BEGIN | |
Comment Create (2.4ms) INSERT INTO "comments" ("user_id", "movie_id", "score", "created_at", "updated_at", "selections", "cached_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["user_id", 1], ["movie_id", 5064], ["score", 2], ["created_at", "2020-07-22 11:00:59.097679"], ["updated_at", "2020-07-22 11:00:59.097679"], ["selections", "{\"selection\":[\"\"]}"], ["cached_at", "2020-07-22 11:00:59.097340"]] | |
(0.9ms) ROLLBACK | |
User Load (1.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 11]] | |
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 11]] | |
Completed 500 Internal Server Error in 1397ms (ActiveRecord: 109.8ms) | |
CACHE User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 11]] | |
NameError (undefined local variable or method `name' for #<ActiveRecord::Associations::BelongsToAssociation:0x00007fa64c19bbb8>): | |
activerecord-cached_at (6.0.0) lib/cached_at/associations/belongs_to_association.rb:8:in `touch_cached_at' | |
activerecord-cached_at (6.0.0) lib/cached_at/base.rb:61:in `block in update_relations_cached_at' | |
activerecord-cached_at (6.0.0) lib/cached_at/base.rb:55:in `each' | |
activerecord-cached_at (6.0.0) lib/cached_at/base.rb:55:in `update_relations_cached_at' | |
activerecord-cached_at (6.0.0) lib/cached_at/base.rb:40:in `update_relations_cached_at_from_cached_at' | |
activesupport (5.2.4.3) lib/active_support/callbacks.rb:426:in `block in make_lambda' | |
activesupport (5.2.4.3) lib/active_support/callbacks.rb:236:in `block in halting_and_conditional' | |
activesupport (5.2.4.3) lib/active_support/callbacks.rb:517:in `block in invoke_after' | |
activesupport (5.2.4.3) lib/active_support/callbacks.rb:517:in `each' | |
activesupport (5.2.4.3) lib/active_support/callbacks.rb:517:in `invoke_after' | |
activesupport (5.2.4.3) lib/active_support/callbacks.rb:133:in `run_callbacks' | |
activesupport (5.2.4.3) lib/active_support/callbacks.rb:816:in `_run_save_callbacks' | |
activerecord (5.2.4.3) lib/active_record/callbacks.rb:342:in `create_or_update' | |
activerecord (5.2.4.3) lib/active_record/persistence.rb:275:in `save' | |
activerecord (5.2.4.3) lib/active_record/validations.rb:46:in `save' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:310:in `block (2 levels) in save' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' | |
activerecord (5.2.4.3) lib/active_record/connection_adapters/abstract/database_statements.rb:265:in `transaction' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:212:in `transaction' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:385:in `with_transaction_returning_status' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:310:in `block in save' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:325:in `rollback_active_record_state!' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:309:in `save' | |
activerecord (5.2.4.3) lib/active_record/suppressor.rb:44:in `save' | |
activerecord (5.2.4.3) lib/active_record/persistence.rb:428:in `block in update' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:387:in `block in with_transaction_returning_status' | |
activerecord (5.2.4.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `block in transaction' | |
activerecord (5.2.4.3) lib/active_record/connection_adapters/abstract/transaction.rb:239:in `block in within_new_transaction' | |
/Users/gemp/.rvm/rubies/ruby-2.6.0/lib/ruby/2.6.0/monitor.rb:230:in `mon_synchronize' | |
activerecord (5.2.4.3) lib/active_record/connection_adapters/abstract/transaction.rb:236:in `within_new_transaction' | |
activerecord (5.2.4.3) lib/active_record/connection_adapters/abstract/database_statements.rb:267:in `transaction' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:212:in `transaction' | |
activerecord (5.2.4.3) lib/active_record/transactions.rb:385:in `with_transaction_returning_status' | |
activerecord (5.2.4.3) lib/active_record/persistence.rb:426:in `update' | |
app/controllers/comments_controller.rb:61:in `block in create' | |
actionpack (5.2.4.3) lib/action_controller/metal/mime_responds.rb:197:in `respond_to' | |
app/controllers/comments_controller.rb:60:in `create' | |
actionpack (5.2.4.3) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action' | |
actionpack (5.2.4.3) lib/abstract_controller/base.rb:194:in `process_action' | |
actionpack (5.2.4.3) lib/action_controller/metal/rendering.rb:30:in `process_action' | |
actionpack (5.2.4.3) lib/abstract_controller/callbacks.rb:42:in `block in process_action' | |
activesupport (5.2.4.3) lib/active_support/callbacks.rb:132:in `run_callbacks' | |
actionpack (5.2.4.3) lib/abstract_controller/callbacks.rb:41:in `process_action' | |
actionpack (5.2.4.3) lib/action_controller/metal/rescue.rb:22:in `process_action' | |
actionpack (5.2.4.3) lib/action_controller/metal/instrumentation.rb:34:in `block in process_action' | |
activesupport (5.2.4.3) lib/active_support/notifications.rb:168:in `block in instrument' | |
activesupport (5.2.4.3) lib/active_support/notifications/instrumenter.rb:23:in `instrument' | |
activesupport (5.2.4.3) lib/active_support/notifications.rb:168:in `instrument' | |
actionpack (5.2.4.3) lib/action_controller/metal/instrumentation.rb:32:in `process_action' | |
actionpack (5.2.4.3) lib/action_controller/metal/params_wrapper.rb:256:in `process_action' | |
activerecord (5.2.4.3) lib/active_record/railties/controller_runtime.rb:24:in `process_action' | |
actionpack (5.2.4.3) lib/abstract_controller/base.rb:134:in `process' | |
actionview (5.2.4.3) lib/action_view/rendering.rb:32:in `process' | |
actionpack (5.2.4.3) lib/action_controller/metal.rb:191:in `dispatch' | |
actionpack (5.2.4.3) lib/action_controller/metal.rb:252:in `dispatch' | |
actionpack (5.2.4.3) lib/action_dispatch/routing/route_set.rb:52:in `dispatch' | |
actionpack (5.2.4.3) lib/action_dispatch/routing/route_set.rb:34:in `serve' | |
actionpack (5.2.4.3) lib/action_dispatch/journey/router.rb:52:in `block in serve' | |
actionpack (5.2.4.3) lib/action_dispatch/journey/router.rb:35:in `each' | |
actionpack (5.2.4.3) lib/action_dispatch/journey/router.rb:35:in `serve' | |
actionpack (5.2.4.3) lib/action_dispatch/routing/route_set.rb:840:in `call' | |
turnout (2.5.0) lib/rack/turnout.rb:25:in `call' | |
p3p (2.0.0) lib/p3p/middleware.rb:9:in `call' | |
oink (0.10.1) lib/oink/middleware.rb:17:in `call' | |
warden (1.2.8) lib/warden/manager.rb:36:in `block in call' | |
warden (1.2.8) lib/warden/manager.rb:34:in `catch' | |
warden (1.2.8) lib/warden/manager.rb:34:in `call' | |
rack (2.2.3) lib/rack/tempfile_reaper.rb:15:in `call' | |
rack (2.2.3) lib/rack/etag.rb:27:in `call' | |
rack (2.2.3) lib/rack/conditional_get.rb:40:in `call' | |
rack (2.2.3) lib/rack/head.rb:12:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/http/content_security_policy.rb:18:in `call' | |
rack (2.2.3) lib/rack/session/abstract/id.rb:266:in `context' | |
rack (2.2.3) lib/rack/session/abstract/id.rb:260:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/cookies.rb:670:in `call' | |
activerecord (5.2.4.3) lib/active_record/migration.rb:559:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' | |
activesupport (5.2.4.3) lib/active_support/callbacks.rb:98:in `run_callbacks' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/callbacks.rb:26:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/executor.rb:14:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/debug_exceptions.rb:61:in `call' | |
web-console (3.7.0) lib/web_console/middleware.rb:135:in `call_app' | |
web-console (3.7.0) lib/web_console/middleware.rb:30:in `block in call' | |
web-console (3.7.0) lib/web_console/middleware.rb:20:in `catch' | |
web-console (3.7.0) lib/web_console/middleware.rb:20:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call' | |
railties (5.2.4.3) lib/rails/rack/logger.rb:38:in `call_app' | |
railties (5.2.4.3) lib/rails/rack/logger.rb:26:in `block in call' | |
activesupport (5.2.4.3) lib/active_support/tagged_logging.rb:71:in `block in tagged' | |
activesupport (5.2.4.3) lib/active_support/tagged_logging.rb:28:in `tagged' | |
activesupport (5.2.4.3) lib/active_support/tagged_logging.rb:71:in `tagged' | |
railties (5.2.4.3) lib/rails/rack/logger.rb:26:in `call' | |
sprockets-rails (3.2.1) lib/sprockets/rails/quiet_assets.rb:13:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/remote_ip.rb:81:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/request_id.rb:27:in `call' | |
rack (2.2.3) lib/rack/method_override.rb:24:in `call' | |
rack (2.2.3) lib/rack/runtime.rb:22:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/executor.rb:14:in `call' | |
actionpack (5.2.4.3) lib/action_dispatch/middleware/static.rb:127:in `call' | |
rack (2.2.3) lib/rack/sendfile.rb:110:in `call' | |
rack-mini-profiler (2.0.2) lib/mini_profiler/profiler.rb:312:in `call' | |
railties (5.2.4.3) lib/rails/engine.rb:524:in `call' | |
puma (3.9.1) lib/puma/configuration.rb:224:in `call' | |
puma (3.9.1) lib/puma/server.rb:602:in `handle_request' | |
puma (3.9.1) lib/puma/server.rb:435:in `process_client' | |
puma (3.9.1) lib/puma/server.rb:299:in `block in run' | |
puma (3.9.1) lib/puma/thread_pool.rb:120:in `block in spawn_thread' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment