Skip to content

Instantly share code, notes, and snippets.

@aegixx
Created May 15, 2015 19:22
Show Gist options
  • Save aegixx/d371853a05f61a1928ac to your computer and use it in GitHub Desktop.
Save aegixx/d371853a05f61a1928ac to your computer and use it in GitHub Desktop.
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `query'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `block in execute'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:303:in `execute'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/mysql2_adapter.rb:228:in `execute'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/mysql2_adapter.rb:254:in `exec_delete'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:101:in `update'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/query_cache.rb:14:in `update'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/relation.rb:333:in `update_all'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/item_adjustments.rb:74:in `choose_best_promotion_adjustment'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/item_adjustments.rb:46:in `block in update_adjustments'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:82:in `run_callbacks'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/item_adjustments.rb:40:in `update_adjustments'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/item_adjustments.rb:18:in `update'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/adjustment.rb:111:in `update_adjustable_adjustment_total'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:424:in `block in make_lambda'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:221:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:221:in `block in halting_and_conditional'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `run_callbacks'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/callbacks.rb:306:in `_create_record'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/timestamp.rb:57:in `_create_record'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/persistence.rb:483:in `create_or_update'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/callbacks.rb:302:in `block in create_or_update'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:113:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:113:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:215:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:215:in `block in halting_and_conditional'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `run_callbacks'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/callbacks.rb:302:in `create_or_update'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/persistence.rb:125:in `save!'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/validations.rb:57:in `save!'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/attribute_methods/dirty.rb:29:in `save!'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:273:in `block in save!'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:208:in `transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:326:in `with_transaction_returning_status'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:273:in `save!'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:487:in `block in save!'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:502:in `block (2 levels) in around_save'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:150:in `block in run_actions'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:170:in `catch_exceptions'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:148:in `run_actions'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:133:in `run_callbacks'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:212:in `run_callbacks'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `block (2 levels) in perform'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `catch'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:63:in `block in perform'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:186:in `within_transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/transition_collection.rb:62:in `perform'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:502:in `block in around_save'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:530:in `block in transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:199:in `transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:208:in `transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:529:in `transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:501:in `around_save'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/state_machine-1.2.0/lib/state_machine/integrations/active_record.rb:487:in `save!'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/associations/has_many_association.rb:38:in `insert_record'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/associations/collection_association.rb:462:in `block (2 levels) in _create_record'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/associations/collection_association.rb:389:in `add_to_target'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/associations/collection_association.rb:460:in `block in _create_record'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/associations/collection_association.rb:168:in `block in transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:209:in `within_new_transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/transactions.rb:208:in `transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/associations/collection_association.rb:167:in `transaction'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/associations/collection_association.rb:459:in `_create_record'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/associations/collection_association.rb:141:in `create!'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/associations/collection_proxy.rb:301:in `create!'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/promotion/actions/create_item_adjustments.rb:31:in `create_adjustment'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/promotion/actions/create_item_adjustments.rb:22:in `block in perform'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/promotion/actions/create_item_adjustments.rb:21:in `each'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/promotion/actions/create_item_adjustments.rb:21:in `perform'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/promotion.rb:66:in `block in activate'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/relation/delegation.rb:46:in `map'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/relation/delegation.rb:46:in `map'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/spree_core-2.4.5/app/models/spree/promotion.rb:65:in `activate'
/var/app/current/app/models/spree/promotion_handler/kailos.rb:64:in `handle_present_promotion'
/var/app/current/app/models/spree/promotion_handler/kailos.rb:14:in `apply'
/var/app/current/app/controllers/spree/store_controller_decorator.rb:20:in `apply_coupon_code'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:424:in `block in make_lambda'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:160:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:160:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:149:in `block in halting_and_conditional'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:229:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:229:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:166:in `block in halting'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:86:in `run_callbacks'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/abstract_controller/callbacks.rb:19:in `process_action'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_controller/metal/rescue.rb:29:in `process_action'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/notifications.rb:159:in `block in instrument'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/notifications.rb:159:in `instrument'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/abstract_controller/base.rb:136:in `process'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionview-4.1.8/lib/action_view/rendering.rb:30:in `process'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_controller/metal.rb:196:in `dispatch'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_controller/metal.rb:232:in `block in action'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:82:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:50:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/journey/router.rb:73:in `block in call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/journey/router.rb:59:in `each'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/journey/router.rb:59:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:678:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/engine.rb:514:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/railtie.rb:194:in `public_send'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/railtie.rb:194:in `method_missing'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/journey/router.rb:73:in `block in call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/journey/router.rb:59:in `each'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/journey/router.rb:59:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/routing/route_set.rb:678:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/flash.rb:254:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/cookies.rb:560:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/query_cache.rb:36:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/callbacks.rb:82:in `run_callbacks'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/rack/logger.rb:38:in `call_app'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/rack/logger.rb:20:in `block in call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/tagged_logging.rb:68:in `block in tagged'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/tagged_logging.rb:26:in `tagged'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/tagged_logging.rb:68:in `tagged'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/rack/logger.rb:20:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/actionpack-4.1.8/lib/action_dispatch/middleware/request_id.rb:21:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/activesupport-4.1.8/lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/engine.rb:514:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/railties-4.1.8/lib/rails/application.rb:144:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/puma-2.9.1/lib/puma/configuration.rb:71:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/puma-2.9.1/lib/puma/server.rb:490:in `handle_request'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/puma-2.9.1/lib/puma/server.rb:361:in `process_client'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/puma-2.9.1/lib/puma/server.rb:254:in `block in run'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/puma-2.9.1/lib/puma/thread_pool.rb:92:in `call'
/opt/rubies/ruby-2.1.4/lib/ruby/gems/2.1.0/gems/puma-2.9.1/lib/puma/thread_pool.rb:92:in `block in spawn_thread'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment