Advertisement
Guest User

Untitled

a guest
Mar 31st, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {"error":{"code":500,"message":"Unknown server error."},"reason":"undefined method `to_i' for #\u003cActiveRecord::Attribute::FromDatabase:0x00000007bb1780\u003e","source":["/home/deployer/apps/rescuepcr/stage/releases/20150331145124/app/models/message.rb:57:in `read_count'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activemodel-4.2.1/lib/active_model/serialization.rb:108:in `block in serializable_hash'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activemodel-4.2.1/lib/active_model/serialization.rb:108:in `each'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activemodel-4.2.1/lib/active_model/serialization.rb:108:in `serializable_hash'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/serialization.rb:17:in `serializable_hash'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activemodel-4.2.1/lib/active_model/serializers/json.rb:99:in `as_json'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/core_ext/object/json.rb:140:in `block in as_json'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/core_ext/object/json.rb:140:in `map'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/core_ext/object/json.rb:140:in `as_json'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/relation.rb:253:in `as_json'","/home/deployer/apps/rescuepcr/stage/releases/20150331145124/app/controllers/api/v1/tokens_controller.rb:41:in `create'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/abstract_controller/base.rb:198:in `process_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_controller/metal/rendering.rb:10:in `process_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:117:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:498:in `block (2 levels) in around'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:313:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:313:in `block (2 levels) in halting'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/browser-timezone-rails-0.0.8/lib/browser-timezone-rails.rb:14:in `set_time_zone'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:432:in `block in make_lambda'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:312:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:312:in `block in halting'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:497:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:497:in `block in around'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:505:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:92:in `_run_callbacks'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/abstract_controller/callbacks.rb:19:in `process_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_controller/metal/rescue.rb:29:in `process_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164:in `block in instrument'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:164:in `instrument'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/abstract_controller/base.rb:137:in `process'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionview-4.2.1/lib/action_view/rendering.rb:30:in `process'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_controller/metal.rb:196:in `dispatch'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_controller/metal.rb:237:in `block in action'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `each'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `serve'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:819:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/etag.rb:24:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/rack/browser_monitoring.rb:23:in `traced_call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/deflater.rb:35:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/conditionalget.rb:38:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/head.rb:13:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/flash.rb:260:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:225:in `context'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/session/abstract/id.rb:220:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/query_cache.rb:36:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88:in `_run_callbacks'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_call_callbacks'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/rack/logger.rb:38:in `call_app'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/rack/logger.rb:20:in `block in call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:26:in `tagged'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/tagged_logging.rb:68:in `tagged'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/rack/logger.rb:20:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/methodoverride.rb:22:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/runtime.rb:18:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/static.rb:113:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/rack-1.6.0/lib/rack/sendfile.rb:113:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:518:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:164:in `call'","/home/deployer/apps/rescuepcr/stage/shared/bundle/ruby/2.1.0/gems/newrelic_rpm-3.11.1.284/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'","/home/deployer/.rvm/gems/ruby-2.1.2/gems/passenger-5.0.5/lib/phusion_passenger/rack/thread_handler_extension.rb:85:in `process_request'","/home/deployer/.rvm/gems/ruby-2.1.2/gems/passenger-5.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:155:in `accept_and_process_next_request'","/home/deployer/.rvm/gems/ruby-2.1.2/gems/passenger-5.0.5/lib/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'","/home/deployer/.rvm/gems/ruby-2.1.2/gems/passenger-5.0.5/lib/phusion_passenger/request_handler.rb:414:in `block (3 levels) in start_threads'","/home/deployer/.rvm/gems/ruby-2.1.2/gems/passenger-5.0.5/lib/phusion_passenger/utils.rb:111:in `block in create_thread_and_abort_on_exception'"]}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement