Skip to content

Instantly share code, notes, and snippets.

@enricostano
Created June 7, 2018 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enricostano/f0b4701a501bc9542ce0ffaa8ada6e63 to your computer and use it in GitHub Desktop.
Save enricostano/f0b4701a501bc9542ce0ffaa8ada6e63 to your computer and use it in GitHub Desktop.
I, [2018-06-07T11:49:10.610756 #26495] INFO -- : Started DELETE "/admin/organizations/1" for 90.68.31.84 at 2018-06-07 11:49:10 +0000
I, [2018-06-07T11:49:10.623232 #26495] INFO -- : Processing by Admin::OrganizationsController#destroy as HTML
I, [2018-06-07T11:49:10.623415 #26495] INFO -- : Parameters: {"authenticity_token"=>"TxS/gqGVug9CShhMnM7cg77XwM0W5ohW2oO4q0qddT1MRaaz0RX9sxzHmdkvsEjoMFJSD02ISBuBhtt661hi2g==", "id"=>"1"}
D, [2018-06-07T11:49:10.629976 #26495] DEBUG -- : User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY users.id ASC LIMIT 1 [["id", 1]]
D, [2018-06-07T11:49:10.637955 #26495] DEBUG -- : Document Load (1.0ms) SELECT "documents".* FROM "documents" WHERE "documents"."label" = $1 AND "documents"."documentable_id" IS NULL ORDER BY "documents"."id" ASC LIMIT 1 [["label", "t&c"]]
D, [2018-06-07T11:49:10.647187 #26495] DEBUG -- : Organization Load (1.1ms) SELECT "organizations".* FROM "organizations" INNER JOIN "members" ON "organizations"."id" = "members"."organization_id" WHERE "members"."user_id" = $1 ORDER BY "organizations"."id" ASC LIMIT 1 [["user_id", 1]]
D, [2018-06-07T11:49:10.652100 #26495] DEBUG -- : Organization Load (1.0ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 1]]
D, [2018-06-07T11:49:10.654843 #26495] DEBUG -- : (0.6ms) BEGIN
D, [2018-06-07T11:49:10.662431 #26495] DEBUG -- : Member Load (2.8ms) SELECT "members".* FROM "members" WHERE "members"."organization_id" = $1 [["organization_id", 1]]
D, [2018-06-07T11:49:10.671528 #26495] DEBUG -- : SQL (2.1ms) DELETE FROM "members" WHERE "members"."id" = $1 [["id", 1]]
D, [2018-06-07T11:49:10.677454 #26495] DEBUG -- : User Load (2.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY users.id ASC LIMIT 1 [["id", 1]]
D, [2018-06-07T11:49:10.689377 #26495] DEBUG -- : Member Exists (1.1ms) SELECT 1 AS one FROM "members" WHERE "members"."user_id" = $1 LIMIT 1 [["user_id", 1]]
D, [2018-06-07T11:49:10.693558 #26495] DEBUG -- : Member Load (0.8ms) SELECT "members".* FROM "members" WHERE "members"."user_id" = $1 [["user_id", 1]]
D, [2018-06-07T11:49:10.698072 #26495] DEBUG -- : SQL (0.9ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 1]]
D, [2018-06-07T11:49:10.701665 #26495] DEBUG -- : SQL (2.1ms) DELETE FROM "members" WHERE "members"."id" = $1 [["id", 2]]
D, [2018-06-07T11:49:10.709263 #26495] DEBUG -- : User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY users.id ASC LIMIT 1 [["id", 2]]
D, [2018-06-07T11:49:10.716836 #26495] DEBUG -- : Member Exists (0.9ms) SELECT 1 AS one FROM "members" WHERE "members"."user_id" = $1 LIMIT 1 [["user_id", 2]]
D, [2018-06-07T11:49:10.719508 #26495] DEBUG -- : Member Load (0.9ms) SELECT "members".* FROM "members" WHERE "members"."user_id" = $1 [["user_id", 2]]
D, [2018-06-07T11:49:10.723459 #26495] DEBUG -- : SQL (0.9ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 2]]
D, [2018-06-07T11:49:10.726448 #26495] DEBUG -- : SQL (1.2ms) DELETE FROM "members" WHERE "members"."id" = $1 [["id", 3]]
D, [2018-06-07T11:49:10.732872 #26495] DEBUG -- : User Load (1.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY users.id ASC LIMIT 1 [["id", 3]]
D, [2018-06-07T11:49:10.739213 #26495] DEBUG -- : Member Exists (1.9ms) SELECT 1 AS one FROM "members" WHERE "members"."user_id" = $1 LIMIT 1 [["user_id", 3]]
D, [2018-06-07T11:49:10.741748 #26495] DEBUG -- : Member Load (0.9ms) SELECT "members".* FROM "members" WHERE "members"."user_id" = $1 [["user_id", 3]]
D, [2018-06-07T11:49:10.745784 #26495] DEBUG -- : SQL (1.4ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 3]]
D, [2018-06-07T11:49:10.748599 #26495] DEBUG -- : SQL (1.2ms) DELETE FROM "members" WHERE "members"."id" = $1 [["id", 5]]
D, [2018-06-07T11:49:10.756306 #26495] DEBUG -- : User Load (1.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY users.id ASC LIMIT 1 [["id", 5]]
D, [2018-06-07T11:49:10.764184 #26495] DEBUG -- : Member Exists (1.2ms) SELECT 1 AS one FROM "members" WHERE "members"."user_id" = $1 LIMIT 1 [["user_id", 5]]
D, [2018-06-07T11:49:10.766934 #26495] DEBUG -- : SQL (1.2ms) DELETE FROM "members" WHERE "members"."id" = $1 [["id", 8]]
D, [2018-06-07T11:49:10.773306 #26495] DEBUG -- : User Load (0.9ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY users.id ASC LIMIT 1 [["id", 7]]
D, [2018-06-07T11:49:10.780299 #26495] DEBUG -- : Member Exists (1.0ms) SELECT 1 AS one FROM "members" WHERE "members"."user_id" = $1 LIMIT 1 [["user_id", 7]]
D, [2018-06-07T11:49:10.784403 #26495] DEBUG -- : Member Load (1.1ms) SELECT "members".* FROM "members" WHERE "members"."user_id" = $1 [["user_id", 7]]
D, [2018-06-07T11:49:10.788472 #26495] DEBUG -- : SQL (1.0ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 7]]
D, [2018-06-07T11:49:10.791468 #26495] DEBUG -- : SQL (1.4ms) DELETE FROM "members" WHERE "members"."id" = $1 [["id", 12]]
D, [2018-06-07T11:49:10.816249 #26495] DEBUG -- : User Load (1.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY users.id ASC LIMIT 1 [["id", 11]]
D, [2018-06-07T11:49:10.824021 #26495] DEBUG -- : Member Exists (1.1ms) SELECT 1 AS one FROM "members" WHERE "members"."user_id" = $1 LIMIT 1 [["user_id", 11]]
D, [2018-06-07T11:49:10.830294 #26495] DEBUG -- : Member Load (2.8ms) SELECT "members".* FROM "members" WHERE "members"."user_id" = $1 [["user_id", 11]]
D, [2018-06-07T11:49:10.833942 #26495] DEBUG -- : SQL (1.8ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 11]]
D, [2018-06-07T11:49:10.837892 #26495] DEBUG -- : SQL (0.8ms) DELETE FROM "members" WHERE "members"."id" = $1 [["id", 14]]
D, [2018-06-07T11:49:10.844839 #26495] DEBUG -- : User Load (2.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY users.id ASC LIMIT 1 [["id", 13]]
D, [2018-06-07T11:49:10.850380 #26495] DEBUG -- : Member Exists (0.9ms) SELECT 1 AS one FROM "members" WHERE "members"."user_id" = $1 LIMIT 1 [["user_id", 13]]
D, [2018-06-07T11:49:10.854207 #26495] DEBUG -- : Member Load (0.9ms) SELECT "members".* FROM "members" WHERE "members"."user_id" = $1 [["user_id", 13]]
D, [2018-06-07T11:49:10.857982 #26495] DEBUG -- : SQL (0.9ms) DELETE FROM "users" WHERE "users"."id" = $1 [["id", 13]]
D, [2018-06-07T11:49:10.861359 #26495] DEBUG -- : SQL (1.9ms) DELETE FROM "members" WHERE "members"."id" = $1 [["id", 15]]
D, [2018-06-07T11:49:10.863771 #26495] DEBUG -- : (1.7ms) ROLLBACK
I, [2018-06-07T11:49:10.866061 #26495] INFO -- : Completed 401 Unauthorized in 242ms (ActiveRecord: 53.9ms)
D, [2018-06-07T11:49:10.867616 #26495] DEBUG -- : [Rollbar] Reporting exception: PG::ForeignKeyViolation: ERROR: update or delete on table "members" violates foreign key constraint "events_member_id_fkey" on table "events"
DETAIL: Key (id)=(15) is still referenced from table "events".
: DELETE FROM "members" WHERE "members"."id" = $1
D, [2018-06-07T11:49:10.867821 #26495] DEBUG -- : [Rollbar] Exception not reported because Rollbar is disabled
F, [2018-06-07T11:49:10.878587 #26495] FATAL -- :
ActiveRecord::InvalidForeignKey (PG::ForeignKeyViolation: ERROR: update or delete on table "members" violates foreign key constraint "events_member_id_fkey" on table "events"
DETAIL: Key (id)=(15) is still referenced from table "events".
: DELETE FROM "members" WHERE "members"."id" = $1):
activerecord (4.2.10) lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `exec_prepared'
activerecord (4.2.10) lib/active_record/connection_adapters/postgresql_adapter.rb:602:in `block in exec_cache'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract_adapter.rb:484:in `block in log'
activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract_adapter.rb:478:in `log'
activerecord (4.2.10) lib/active_record/connection_adapters/postgresql_adapter.rb:601:in `exec_cache'
activerecord (4.2.10) lib/active_record/connection_adapters/postgresql_adapter.rb:585:in `execute_and_clear'
activerecord (4.2.10) lib/active_record/connection_adapters/postgresql/database_statements.rb:173:in `exec_delete'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract/database_statements.rb:119:in `delete'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `delete'
activerecord (4.2.10) lib/active_record/relation.rb:478:in `delete_all'
activerecord (4.2.10) lib/active_record/persistence.rb:487:in `destroy_row'
activerecord (4.2.10) lib/active_record/counter_cache.rb:152:in `destroy_row'
activerecord (4.2.10) lib/active_record/locking/optimistic.rb:115:in `destroy_row'
activerecord (4.2.10) lib/active_record/persistence.rb:172:in `destroy'
activerecord (4.2.10) lib/active_record/callbacks.rb:292:in `block in destroy'
activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_destroy_callbacks'
activerecord (4.2.10) lib/active_record/callbacks.rb:292:in `destroy'
activerecord (4.2.10) lib/active_record/transactions.rb:281:in `block in destroy'
activerecord (4.2.10) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
activerecord (4.2.10) lib/active_record/transactions.rb:220:in `transaction'
activerecord (4.2.10) lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
activerecord (4.2.10) lib/active_record/transactions.rb:281:in `destroy'
activerecord (4.2.10) lib/active_record/persistence.rb:185:in `destroy!'
activerecord (4.2.10) lib/active_record/associations/has_many_association.rb:171:in `each'
activerecord (4.2.10) lib/active_record/associations/has_many_association.rb:171:in `delete_records'
activerecord (4.2.10) lib/active_record/associations/collection_association.rb:536:in `remove_records'
activerecord (4.2.10) lib/active_record/associations/collection_association.rb:529:in `block in delete_or_destroy'
activerecord (4.2.10) lib/active_record/associations/collection_association.rb:194:in `block in transaction'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
activerecord (4.2.10) lib/active_record/transactions.rb:220:in `transaction'
activerecord (4.2.10) lib/active_record/associations/collection_association.rb:193:in `transaction'
activerecord (4.2.10) lib/active_record/associations/collection_association.rb:529:in `delete_or_destroy'
activerecord (4.2.10) lib/active_record/associations/collection_association.rb:290:in `destroy'
activerecord (4.2.10) lib/active_record/associations/collection_association.rb:234:in `destroy_all'
activerecord (4.2.10) lib/active_record/associations/has_many_association.rb:27:in `handle_dependency'
activerecord (4.2.10) lib/active_record/associations/builder/association.rb:146:in `block in add_destroy_callbacks'
activesupport (4.2.10) lib/active_support/callbacks.rb:448:in `instance_exec'
activesupport (4.2.10) lib/active_support/callbacks.rb:448:in `block in make_lambda'
activesupport (4.2.10) lib/active_support/callbacks.rb:164:in `block in halting'
activesupport (4.2.10) lib/active_support/callbacks.rb:504:in `block in call'
activesupport (4.2.10) lib/active_support/callbacks.rb:504:in `each'
activesupport (4.2.10) lib/active_support/callbacks.rb:504:in `call'
activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_destroy_callbacks'
activerecord (4.2.10) lib/active_record/callbacks.rb:292:in `destroy'
activerecord (4.2.10) lib/active_record/transactions.rb:281:in `block in destroy'
activerecord (4.2.10) lib/active_record/transactions.rb:351:in `block in with_transaction_returning_status'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'
activerecord (4.2.10) lib/active_record/transactions.rb:220:in `transaction'
activerecord (4.2.10) lib/active_record/transactions.rb:348:in `with_transaction_returning_status'
activerecord (4.2.10) lib/active_record/transactions.rb:281:in `destroy'
activeadmin (1.2.1) lib/active_admin/resource_controller/data_access.rb:182:in `block in destroy_resource'
activesupport (4.2.10) lib/active_support/core_ext/object/try.rb:77:in `public_send'
activesupport (4.2.10) lib/active_support/core_ext/object/try.rb:77:in `try!'
activesupport (4.2.10) lib/active_support/core_ext/object/try.rb:63:in `try'
activeadmin (1.2.1) lib/active_admin/callbacks.rb:79:in `block (2 levels) in define_active_admin_callbacks'
activeadmin (1.2.1) lib/active_admin/resource_controller/data_access.rb:181:in `destroy_resource'
inherited_resources (1.8.0) lib/inherited_resources/actions.rb:58:in `destroy'
actionpack (4.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.2.10) lib/abstract_controller/base.rb:198:in `process_action'
actionpack (4.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.2.10) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.2.10) lib/active_support/callbacks.rb:117:in `call'
activesupport (4.2.10) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
activesupport (4.2.10) lib/active_support/callbacks.rb:505:in `call'
activesupport (4.2.10) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.10) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
activesupport (4.2.10) lib/active_support/notifications.rb:164:in `block in instrument'
activesupport (4.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.2.10) lib/active_support/notifications.rb:164:in `instrument'
actionpack (4.2.10) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.2.10) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.2.10) lib/abstract_controller/base.rb:137:in `process'
actionview (4.2.10) lib/action_view/rendering.rb:30:in `process'
actionpack (4.2.10) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.2.10) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.2.10) lib/action_controller/metal.rb:237:in `block in action'
actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:43:in `serve'
actionpack (4.2.10) lib/action_dispatch/journey/router.rb:43:in `block in serve'
actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `each'
actionpack (4.2.10) lib/action_dispatch/journey/router.rb:30:in `serve'
actionpack (4.2.10) lib/action_dispatch/routing/route_set.rb:817:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
http_accept_language (2.1.1) lib/http_accept_language/middleware.rb:14:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
warden (1.2.7) lib/warden/manager.rb:36:in `block in call'
warden (1.2.7) lib/warden/manager.rb:35:in `catch'
warden (1.2.7) lib/warden/manager.rb:35:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
rack (1.6.9) lib/rack/etag.rb:24:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
rack (1.6.9) lib/rack/conditionalget.rb:38:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
rack (1.6.9) lib/rack/head.rb:13:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
actionpack (4.2.10) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
actionpack (4.2.10) lib/action_dispatch/middleware/flash.rb:260:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
rack (1.6.9) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.6.9) lib/rack/session/abstract/id.rb:220:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
actionpack (4.2.10) lib/action_dispatch/middleware/cookies.rb:560:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
activerecord (4.2.10) lib/active_record/query_cache.rb:36:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
activerecord (4.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.2.10) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
activesupport (4.2.10) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
activesupport (4.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (4.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
actionpack (4.2.10) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
rollbar (2.8.3) lib/rollbar/middleware/rails/rollbar.rb:24:in `block in call'
rollbar (2.8.3) lib/rollbar.rb:948:in `scoped'
rollbar (2.8.3) lib/rollbar/middleware/rails/rollbar.rb:22:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
actionpack (4.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
rollbar (2.8.3) lib/rollbar/middleware/rails/show_exceptions.rb:22:in `call_with_rollbar'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
actionpack (4.2.10) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
railties (4.2.10) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.2.10) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.2.10) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.2.10) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.2.10) lib/rails/rack/logger.rb:20:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
actionpack (4.2.10) lib/action_dispatch/middleware/request_id.rb:21:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/action_dispatch/request_id.rb:12:in `call'
rack (1.6.9) lib/rack/methodoverride.rb:22:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
rack (1.6.9) lib/rack/runtime.rb:18:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
activesupport (4.2.10) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
rack (1.6.9) lib/rack/sendfile.rb:113:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
actionpack (4.2.10) lib/action_dispatch/middleware/ssl.rb:24:in `call'
skylight-core (2.0.1) lib/skylight/core/probes/middleware.rb:37:in `call'
skylight-core (2.0.1) lib/skylight/core/middleware.rb:83:in `call'
railties (4.2.10) lib/rails/engine.rb:518:in `call'
railties (4.2.10) lib/rails/application.rb:165:in `call'
unicorn (5.0.1) lib/unicorn/http_server.rb:562:in `process_client'
unicorn (5.0.1) lib/unicorn/http_server.rb:658:in `worker_loop'
unicorn (5.0.1) lib/unicorn/http_server.rb:508:in `spawn_missing_workers'
unicorn (5.0.1) lib/unicorn/http_server.rb:132:in `start'
unicorn (5.0.1) bin/unicorn_rails:209:in `<top (required)>'
/var/www/timeoverflow/current/bin/unicorn_rails:16:in `load'
/var/www/timeoverflow/current/bin/unicorn_rails:16:in `<top (required)>'
bundler (1.16.1) lib/bundler/cli/exec.rb:75:in `load'
bundler (1.16.1) lib/bundler/cli/exec.rb:75:in `kernel_load'
bundler (1.16.1) lib/bundler/cli/exec.rb:28:in `run'
bundler (1.16.1) lib/bundler/cli.rb:424:in `exec'
bundler (1.16.1) lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
bundler (1.16.1) lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
bundler (1.16.1) lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
bundler (1.16.1) lib/bundler/cli.rb:27:in `dispatch'
bundler (1.16.1) lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
bundler (1.16.1) lib/bundler/cli.rb:18:in `start'
bundler (1.16.1) exe/bundle:30:in `block in <top (required)>'
bundler (1.16.1) lib/bundler/friendly_errors.rb:122:in `with_friendly_errors'
bundler (1.16.1) exe/bundle:22:in `<top (required)>'
/home/timeoverflow/.rbenv/versions/2.3.0/bin/bundle:23:in `load'
/home/timeoverflow/.rbenv/versions/2.3.0/bin/bundle:23:in `<main>'
I, [2018-06-07T11:49:10.885378 #26495] INFO -- : Processing by ErrorsController#internal_server_error as HTML
I, [2018-06-07T11:49:10.885572 #26495] INFO -- : Parameters: {"authenticity_token"=>"TxS/gqGVug9CShhMnM7cg77XwM0W5ohW2oO4q0qddT1MRaaz0RX9sxzHmdkvsEjoMFJSD02ISBuBhtt661hi2g==", "id"=>"1"}
D, [2018-06-07T11:49:10.890032 #26495] DEBUG -- : Document Load (1.9ms) SELECT "documents".* FROM "documents" WHERE "documents"."label" = $1 AND "documents"."documentable_id" IS NULL ORDER BY "documents"."id" ASC LIMIT 1 [["label", "t&c"]]
D, [2018-06-07T11:49:10.895503 #26495] DEBUG -- : Organization Load (1.1ms) SELECT "organizations".* FROM "organizations" INNER JOIN "members" ON "organizations"."id" = "members"."organization_id" WHERE "members"."user_id" = $1 ORDER BY "organizations"."id" ASC LIMIT 1 [["user_id", 1]]
I, [2018-06-07T11:49:10.916415 #26495] INFO -- : Rendered errors/internal_server_error.html.erb within layouts/application (3.3ms)
D, [2018-06-07T11:49:10.932387 #26495] DEBUG -- : (1.3ms) SELECT COUNT(*) FROM "organizations" INNER JOIN "members" ON "organizations"."id" = "members"."organization_id" WHERE "members"."user_id" = $1 [["user_id", 1]]
D, [2018-06-07T11:49:10.937946 #26495] DEBUG -- : Member Load (1.1ms) SELECT "members".* FROM "members" WHERE "members"."user_id" = $1 AND "members"."manager" = $2 [["user_id", 1], ["manager", "t"]]
D, [2018-06-07T11:49:10.942720 #26495] DEBUG -- : Organization Load (0.8ms) SELECT "organizations".* FROM "organizations" WHERE "organizations"."id" = $1 LIMIT 1 [["id", 1]]
I, [2018-06-07T11:49:10.968488 #26495] INFO -- : Rendered application/menus/_user_admin_menu.html.erb (42.6ms)
I, [2018-06-07T11:49:10.970713 #26495] INFO -- : Rendered application/menus/_language_switcher.html.erb (1.7ms)
I, [2018-06-07T11:49:10.971824 #26495] INFO -- : Rendered application/menus/_user_list_link.html.erb (0.7ms)
I, [2018-06-07T11:49:10.972855 #26495] INFO -- : Rendered application/menus/_offers_dashboard_link.html.erb (0.7ms)
I, [2018-06-07T11:49:10.973737 #26495] INFO -- : Rendered application/menus/_inquiries_list_link.html.erb (0.6ms)
D, [2018-06-07T11:49:10.976586 #26495] DEBUG -- : Member Load (1.1ms) SELECT "members".* FROM "members" WHERE "members"."user_id" = $1 AND "members"."organization_id" = 1 LIMIT 1 [["user_id", 1]]
I, [2018-06-07T11:49:10.978713 #26495] INFO -- : Rendered application/menus/_offers_by_tag_link.html.erb (1.0ms)
I, [2018-06-07T11:49:10.981004 #26495] INFO -- : Rendered application/menus/_organization_reports_menu.html.erb (1.8ms)
I, [2018-06-07T11:49:10.983943 #26495] INFO -- : Rendered application/menus/_organization_statistics_menu.html.erb (2.4ms)
I, [2018-06-07T11:49:10.986447 #26495] INFO -- : Rendered application/menus/_organization_listings_menu.html.erb (2.0ms)
I, [2018-06-07T11:49:10.986767 #26495] INFO -- : Rendered application/_navbar.html.erb (61.9ms)
I, [2018-06-07T11:49:10.987456 #26495] INFO -- : Rendered layouts/_messages.html.erb (0.3ms)
D, [2018-06-07T11:49:10.990270 #26495] DEBUG -- : Document Load (0.9ms) SELECT "documents".* FROM "documents" WHERE "documents"."label" = $1 AND "documents"."documentable_id" IS NULL ORDER BY "documents"."id" ASC LIMIT 1 [["label", "t&c"]]
I, [2018-06-07T11:49:10.991562 #26495] INFO -- : Rendered layouts/application.html.erb (78.9ms)
I, [2018-06-07T11:49:10.992156 #26495] INFO -- : Completed 500 Internal Server Error in 106ms (Views: 89.8ms | ActiveRecord: 8.3ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment