We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See this exception on Errbit
DETAIL: Key (user_id, friend_id)=(92399, 42236) already exists.
https://chibi.herokuapp.com/phone_calls.xml"
phone_calls#create
Feb 07 1:51pm
0
{ "action" => "create", "api_version" => "adhearsion-twilio-0.0.1", "call_sid" => "ccb5658e-ae95-11e4-b4f9-f3ff45d0abdc", "call_status" => "in-progress", "controller" => "phone_calls", "format" => "xml", "from" => "+855384004007", "to" => "+855383838380" }
{ }
602: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb -> **exec_prepared** 602: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb -> **block in exec_cache** 466: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb -> **block in log** 20: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb -> **instrument** 460: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract_adapter.rb -> **log** 601: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb -> **exec_cache** 585: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql_adapter.rb -> **execute_and_clear** 160: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/database_statements.rb -> **exec_query** 192: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/postgresql/database_statements.rb -> **exec_insert** 108: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb -> **insert** 14: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb -> **insert** 64: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/relation.rb -> **insert** 521: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/persistence.rb -> **_create_record** 139: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/counter_cache.rb -> **_create_record** 127: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/attribute_methods/dirty.rb -> **_create_record** 306: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/callbacks.rb -> **block in _create_record** 117: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 117: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 219: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting_and_conditional** 219: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 219: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting_and_conditional** 219: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 219: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting_and_conditional** 219: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 219: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting_and_conditional** 92: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 92: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **_run_callbacks** 734: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **_run_create_callbacks** 306: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/callbacks.rb -> **_create_record** 57: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/timestamp.rb -> **_create_record** 501: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/persistence.rb -> **create_or_update** 302: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/callbacks.rb -> **block in create_or_update** 117: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 117: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting** 92: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 92: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **_run_callbacks** 734: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **_run_save_callbacks** 302: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/callbacks.rb -> **create_or_update** 142: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/persistence.rb -> **save!** 43: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/validations.rb -> **save!** 29: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/attribute_methods/dirty.rb -> **save!** 291: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/transactions.rb -> **block in save!** 347: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/transactions.rb -> **block in with_transaction_returning_status** 211: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb -> **transaction** 220: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/transactions.rb -> **transaction** 344: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/transactions.rb -> **with_transaction_returning_status** 291: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/transactions.rb -> **save!** 108: app/models/chat.rb -> **activate!** 215: app/models/chat.rb -> **initialize_and_activate_for_friend!** 61: app/models/chat.rb -> **activate_multiple!** 208: app/models/phone_call.rb -> **find_friends** 54: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/core/transition.rb -> **invoke_callbacks_compatible_with_guard** 32: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/core/transition.rb -> **execute** 115: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/core/event.rb -> **block in _fire** 107: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/core/event.rb -> **each** 107: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/core/event.rb -> **_fire** 26: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/core/event.rb -> **fire** 75: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/aasm.rb -> **aasm_fire_event** 175: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/persistence/active_record_persistence.rb -> **block in aasm_fire_event** 213: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb -> **block in transaction** 188: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/transaction.rb -> **within_new_transaction** 213: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/database_statements.rb -> **transaction** 220: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/transactions.rb -> **transaction** 175: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/persistence/active_record_persistence.rb -> **aasm_fire_event** 81: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bundler/gems/aasm-f033ce0c2a12/lib/aasm/base.rb -> **block in event** 130: app/models/phone_call.rb -> **find_or_create_and_process_by** 7: app/controllers/phone_calls_controller.rb -> **create** 4: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_controller/metal/implicit_render.rb -> **send_action** 198: [GEM_ROOT]/gems/actionpack-4.2.0/lib/abstract_controller/base.rb -> **process_action** 10: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_controller/metal/rendering.rb -> **process_action** 20: [GEM_ROOT]/gems/actionpack-4.2.0/lib/abstract_controller/callbacks.rb -> **block in process_action** 117: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 117: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting** 234: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 234: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting** 234: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 234: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 169: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting** 151: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 151: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **block in halting_and_conditional** 92: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 92: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **_run_callbacks** 734: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **_run_process_action_callbacks** 81: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **run_callbacks** 19: [GEM_ROOT]/gems/actionpack-4.2.0/lib/abstract_controller/callbacks.rb -> **process_action** 29: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_controller/metal/rescue.rb -> **process_action** 31: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_controller/metal/instrumentation.rb -> **block in process_action** 164: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/notifications.rb -> **block in instrument** 20: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/notifications/instrumenter.rb -> **instrument** 164: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/notifications.rb -> **instrument** 30: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_controller/metal/instrumentation.rb -> **process_action** 250: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_controller/metal/params_wrapper.rb -> **process_action** 18: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/railties/controller_runtime.rb -> **process_action** 137: [GEM_ROOT]/gems/actionpack-4.2.0/lib/abstract_controller/base.rb -> **process** 30: [GEM_ROOT]/gems/actionview-4.2.0/lib/action_view/rendering.rb -> **process** 195: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_controller/metal.rb -> **dispatch** 13: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_controller/metal/rack_delegation.rb -> **dispatch** 236: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_controller/metal.rb -> **block in action** 73: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb -> **call** 73: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb -> **dispatch** 42: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb -> **serve** 43: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb -> **block in serve** 30: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb -> **each** 30: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/journey/router.rb -> **serve** 802: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/routing/route_set.rb -> **call** 24: [GEM_ROOT]/gems/rack-1.6.0/lib/rack/etag.rb -> **call** 38: [GEM_ROOT]/gems/rack-1.6.0/lib/rack/conditionalget.rb -> **call** 13: [GEM_ROOT]/gems/rack-1.6.0/lib/rack/head.rb -> **call** 27: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/params_parser.rb -> **call** 260: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/flash.rb -> **call** 225: [GEM_ROOT]/gems/rack-1.6.0/lib/rack/session/abstract/id.rb -> **context** 220: [GEM_ROOT]/gems/rack-1.6.0/lib/rack/session/abstract/id.rb -> **call** 560: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/cookies.rb -> **call** 36: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/query_cache.rb -> **call** 647: [GEM_ROOT]/gems/activerecord-4.2.0/lib/active_record/connection_adapters/abstract/connection_pool.rb -> **call** 29: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb -> **block in call** 88: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **call** 88: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **_run_callbacks** 734: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **_run_call_callbacks** 81: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/callbacks.rb -> **run_callbacks** 27: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/callbacks.rb -> **call** 78: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/remote_ip.rb -> **call** 17: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/debug_exceptions.rb -> **call** 30: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/show_exceptions.rb -> **call** 38: [GEM_ROOT]/gems/railties-4.2.0/lib/rails/rack/logger.rb -> **call_app** 20: [GEM_ROOT]/gems/railties-4.2.0/lib/rails/rack/logger.rb -> **block in call** 68: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb -> **block in tagged** 26: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb -> **tagged** 68: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/tagged_logging.rb -> **tagged** 20: [GEM_ROOT]/gems/railties-4.2.0/lib/rails/rack/logger.rb -> **call** 21: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/request_id.rb -> **call** 22: [GEM_ROOT]/gems/rack-1.6.0/lib/rack/methodoverride.rb -> **call** 18: [GEM_ROOT]/gems/rack-1.6.0/lib/rack/runtime.rb -> **call** 28: [GEM_ROOT]/gems/activesupport-4.2.0/lib/active_support/cache/strategy/local_cache_middleware.rb -> **call** 113: [GEM_ROOT]/gems/actionpack-4.2.0/lib/action_dispatch/middleware/static.rb -> **call** 113: [GEM_ROOT]/gems/rack-1.6.0/lib/rack/sendfile.rb -> **call** 29: [GEM_ROOT]/gems/hirefire-resource-0.3.4/lib/hirefire/middleware.rb -> **call** 108: [GEM_ROOT]/gems/rack-timeout-0.2.0/lib/rack/timeout.rb -> **call** 518: [GEM_ROOT]/gems/railties-4.2.0/lib/rails/engine.rb -> **call** 164: [GEM_ROOT]/gems/railties-4.2.0/lib/rails/application.rb -> **call** 576: [GEM_ROOT]/gems/unicorn-4.8.3/lib/unicorn/http_server.rb -> **process_client** 670: [GEM_ROOT]/gems/unicorn-4.8.3/lib/unicorn/http_server.rb -> **worker_loop** 525: [GEM_ROOT]/gems/unicorn-4.8.3/lib/unicorn/http_server.rb -> **spawn_missing_workers** 536: [GEM_ROOT]/gems/unicorn-4.8.3/lib/unicorn/http_server.rb -> **maintain_worker_count** 294: [GEM_ROOT]/gems/unicorn-4.8.3/lib/unicorn/http_server.rb -> **join** 126: [GEM_ROOT]/gems/unicorn-4.8.3/bin/unicorn -> **<top (required)>** 23: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bin/unicorn -> **load** 23: [PROJECT_ROOT]/vendor/bundle/ruby/2.2.0/bin/unicorn -> **<main>**
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See this exception on Errbit
PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_chats_on_user_id_and_friend_id"
DETAIL: Key (user_id, friend_id)=(92399, 42236) already exists.
Summary
URL
https://chibi.herokuapp.com/phone_calls.xml"
Where
phone_calls#create
Occured
Feb 07 1:51pm
Similar
0
Params
Session
Backtrace
Environment
The text was updated successfully, but these errors were encountered: