I am trying to make an app with Rails 4.
I am trying (desperately) to setup devise (I have been trying, unsuccessfully for the past 3 years).
My app is on heroku.
When i am logged in, I try to press the sign out button. I get an error message telling me to check the logs.
The log output is:
2016-01-02T00:52:17.660202+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/controllers/sign_in_out.rb:57:in `sign_out'
2016-01-02T00:52:17.660208+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
2016-01-02T00:52:17.660195+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/controllers/rememberable.rb:23:in `forget_me'
2016-01-02T00:52:17.660201+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/lib/devise/controllers/sign_in_out.rb:75:in `sign_out_all_scopes'
2016-01-02T00:52:17.660208+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
2016-01-02T00:52:17.660198+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/hooks.rb:9:in `_run_callbacks'
2016-01-02T00:52:17.660205+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
2016-01-02T00:52:17.660200+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/proxy.rb:262:in `block in logout'
2016-01-02T00:52:17.660206+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
2016-01-02T00:52:17.660201+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/proxy.rb:260:in `logout'
2016-01-02T00:52:17.660207+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
2016-01-02T00:52:17.660199+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:53:in `_run_callbacks'
2016-01-02T00:52:17.660205+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2016-01-02T00:52:17.660198+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/hooks.rb:9:in `each'
2016-01-02T00:52:17.660204+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
2016-01-02T00:52:17.660210+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
2016-01-02T00:52:17.660165+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'
2016-01-02T00:52:17.660196+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/hooks.rb:14:in `call'
2016-01-02T00:52:17.660203+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/devise-3.4.1/app/controllers/devise/sessions_controller.rb:25:in `destroy'
2016-01-02T00:52:17.660209+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
2016-01-02T00:52:17.660174+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/transactions.rb:285:in `save'
2016-01-02T00:52:17.660200+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/proxy.rb:260:in `each'
2016-01-02T00:52:17.660207+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
2016-01-02T00:52:17.660167+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/transactions.rb:220:in `transaction'
2016-01-02T00:52:17.660197+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/hooks.rb:14:in `block in _run_callbacks'
2016-01-02T00:52:17.660203+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2016-01-02T00:52:17.660210+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
2016-01-02T00:52:17.660215+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2016-01-02T00:52:17.660214+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
2016-01-02T00:52:17.660224+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2016-01-02T00:52:17.660211+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
2016-01-02T00:52:17.660218+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
2016-01-02T00:52:17.660212+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2016-01-02T00:52:17.660214+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2016-01-02T00:52:17.660224+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
2016-01-02T00:52:17.660212+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
2016-01-02T00:52:17.660217+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2016-01-02T00:52:17.660225+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
2016-01-02T00:52:17.660216+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2016-01-02T00:52:17.660225+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
2016-01-02T00:52:17.660213+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
2016-01-02T00:52:17.660223+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
2016-01-02T00:52:17.660227+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:49:in `serve'
2016-01-02T00:52:17.660219+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
2016-01-02T00:52:17.660228+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
2016-01-02T00:52:17.660216+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/searchkick-1.1.2/lib/searchkick/logging.rb:108:in `process_action'
2016-01-02T00:52:17.660227+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
2016-01-02T00:52:17.660226+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
2016-01-02T00:52:17.660228+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
2016-01-02T00:52:17.660232+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
2016-01-02T00:52:17.660229+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
2016-01-02T00:52:17.660231+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
2016-01-02T00:52:17.660230+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
2016-01-02T00:52:17.660235+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
2016-01-02T00:52:17.660234+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
2016-01-02T00:52:17.660235+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
2016-01-02T00:52:17.660230+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
2016-01-02T00:52:17.660239+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2016-01-02T00:52:17.660232+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'
2016-01-02T00:52:17.660241+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
2016-01-02T00:52:17.660233+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'
2016-01-02T00:52:17.660241+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
2016-01-02T00:52:17.660242+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
2016-01-02T00:52:17.660239+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
2016-01-02T00:52:17.660244+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
2016-01-02T00:52:17.660242+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
2016-01-02T00:52:17.660236+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
2016-01-02T00:52:17.660243+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
2016-01-02T00:52:17.660237+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
2016-01-02T00:52:17.660244+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2016-01-02T00:52:17.660238+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
2016-01-02T00:52:17.660244+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
2016-01-02T00:52:17.660237+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
2016-01-02T00:52:17.660242+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
2016-01-02T00:52:17.660247+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
2016-01-02T00:52:17.660246+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2016-01-02T00:52:17.660253+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
2016-01-02T00:52:17.660251+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2016-01-02T00:52:17.660259+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
2016-01-02T00:52:17.660246+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2016-01-02T00:52:17.660252+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
2016-01-02T00:52:17.660250+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2016-01-02T00:52:17.660258+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
2016-01-02T00:52:17.660250+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `block in call'
2016-01-02T00:52:17.660257+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2016-01-02T00:52:17.660251+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2016-01-02T00:52:17.660259+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
2016-01-02T00:52:17.660245+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
2016-01-02T00:52:17.660252+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `call'
2016-01-02T00:52:17.660260+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
2016-01-02T00:52:17.660245+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2016-01-02T00:52:17.660262+00:00 app[web.1]: vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
2016-01-02T00:52:17.660246+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2016-01-02T00:52:17.660252+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2016-01-02T00:52:17.660260+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
2016-01-02T00:52:17.660258+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/static.rb:116:in `call'
2016-01-02T00:52:17.660263+00:00 app[web.1]:
2016-01-02T00:52:17.660261+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
2016-01-02T00:52:17.660263+00:00 app[web.1]:
2016-01-02T00:52:17.660261+00:00 app[web.1]: vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
2016-01-02T00:52:17.660262+00:00 app[web.1]: vendor/ruby-2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
I don't understand a word of this message. Can anyone decipher what it means?
My routes are:
devise_for :users, #class_name: 'FormUser',
:controllers => {
:registrations => "users/registrations",
# :omniauth_callbacks => "users/authentications"
:omniauth_callbacks => 'users/omniauth_callbacks'
}
# get '/auth/:provider/callback' => 'users/authentications#create'
# get '/authentications/sign_out', :to => 'users/authentications#destroy'
# PER SOURCEY TUTORIAL ----------
match '/users/:id/finish_signup' => 'users#finish_signup', via: [:get, :patch], :as => :finish_signup
I don't have a specific sign out path defined in the routes. The sourcey tutorial I'm following doesnt use one and I understood this was part of the devise gem functionality.
My rake routes shows:
destroy_user_session DELETE /users/sign_out(.:format) devise/sessions#destroy
The nav bar has a sign out link as:
<%= link_to "Sign out", destroy_user_session_path, :method => :delete %>
Related
I'm building a small app that uses the blazer gem - everything works fine until I try to create new query via "blazer/queries/new" and it gives me the following error. I can't seem to figure out the difference between production and local (works fine) that causes this error. I've eliminated ruby version, routing order, and asset recompilation, but have no idea what's going on. Thanks!
2016-09-17T22:32:35.124881+00:00 app[web.1]:
2016-09-17T22:33:14.010638+00:00 heroku[router]: at=info method=GET path="/blazer/queries/new" host=... request_id=abfff554-2cdd-4c1d-b45a-24f0f4c76e1e fwd="94.97.85.176" dyno=web.1 connect=0ms service=11ms status=500 bytes=1754
2016-09-17T22:33:14.003151+00:00 app[web.1]: Started GET "/blazer/queries/new" for 94.97.85.176 at 2016-09-17 22:33:14 +0000
2016-09-17T22:33:14.005458+00:00 app[web.1]: Processing by Blazer::QueriesController#new as HTML
2016-09-17T22:33:14.007870+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/app/views/blazer/queries/_form.html.erb (1.2ms)
2016-09-17T22:33:14.007976+00:00 app[web.1]: Rendered vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/app/views/blazer/queries/new.html.erb within layouts/blazer/application (1.5ms)
2016-09-17T22:33:14.008106+00:00 app[web.1]: Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
2016-09-17T22:33:14.010487+00:00 app[web.1]:
2016-09-17T22:33:14.010489+00:00 app[web.1]: ActionView::Template::Error (Empty url):
2016-09-17T22:33:14.010490+00:00 app[web.1]: 15: <div class="pull-left" style="margin-top: 6px;">
2016-09-17T22:33:14.010491+00:00 app[web.1]: 16: <%= link_to "Back", :back %>
2016-09-17T22:33:14.010491+00:00 app[web.1]: 17: </div>
2016-09-17T22:33:14.010502+00:00 app[web.1]: 18: <%= f.select :data_source, Blazer.data_sources.values.map { |ds| [ds.name, ds.id] }, {}, class: ("hide" if Blazer.data_sources.size == 1), style: "width: 140px;" %>
2016-09-17T22:33:14.010504+00:00 app[web.1]: 19: <div id="tables" style="display: inline-block; width: 250px; margin-right: 10px;" class="hide">
2016-09-17T22:33:14.010504+00:00 app[web.1]: 20: <%= render partial: "tables" %>
2016-09-17T22:33:14.010505+00:00 app[web.1]: 21: </div>
2016-09-17T22:33:14.010506+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/lib/blazer/data_source.rb:16:in `initialize'
2016-09-17T22:33:14.010507+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/lib/blazer.rb:73:in `new'
2016-09-17T22:33:14.010508+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/lib/blazer.rb:73:in `block in data_sources'
2016-09-17T22:33:14.010508+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/lib/blazer.rb:72:in `each'
2016-09-17T22:33:14.010509+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/lib/blazer.rb:72:in `map'
2016-09-17T22:33:14.010510+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/lib/blazer.rb:72:in `data_sources'
2016-09-17T22:33:14.010512+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/app/views/blazer/queries/_form.html.erb:18:in `block in _vendor_bundle_ruby_______gems_blazer_______app_views_blazer_queries__form_html_erb___722781642157270755_69853702949320'
2016-09-17T22:33:14.010521+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/helpers/capture_helper.rb:38:in `block in capture'
2016-09-17T22:33:14.010522+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/helpers/capture_helper.rb:202:in `with_output_buffer'
2016-09-17T22:33:14.010522+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/helpers/capture_helper.rb:38:in `capture'
2016-09-17T22:33:14.010523+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/helpers/form_helper.rb:444:in `form_for'
2016-09-17T22:33:14.010524+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/app/views/blazer/queries/_form.html.erb:5:in `_vendor_bundle_ruby_______gems_blazer_______app_views_blazer_queries__form_html_erb___722781642157270755_69853702949320'
2016-09-17T22:33:14.010525+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/template.rb:145:in `block in render'
2016-09-17T22:33:14.010525+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in `instrument'
2016-09-17T22:33:14.010526+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/template.rb:333:in `instrument'
2016-09-17T22:33:14.010527+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/template.rb:143:in `render'
2016-09-17T22:33:14.010527+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'
2016-09-17T22:33:14.010528+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:310:in `block in render'
2016-09-17T22:33:14.010529+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
2016-09-17T22:33:14.010529+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
2016-09-17T22:33:14.010530+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2016-09-17T22:33:14.010531+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
2016-09-17T22:33:14.010531+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
2016-09-17T22:33:14.010532+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/partial_renderer.rb:309:in `render'
2016-09-17T22:33:14.010532+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:47:in `render_partial'
2016-09-17T22:33:14.010533+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:21:in `render'
2016-09-17T22:33:14.010534+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/helpers/rendering_helper.rb:32:in `render'
2016-09-17T22:33:14.010535+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/blazer-1.7.0/app/views/blazer/queries/new.html.erb:2:in `_vendor_bundle_ruby_______gems_blazer_______app_views_blazer_queries_new_html_erb__4212589811334821380_69853701401580'
2016-09-17T22:33:14.010536+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/template.rb:145:in `block in render'
2016-09-17T22:33:14.010536+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:166:in `instrument'
2016-09-17T22:33:14.010537+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/template.rb:333:in `instrument'
2016-09-17T22:33:14.010541+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/template.rb:143:in `render'
2016-09-17T22:33:14.010542+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:54:in `block (2 levels) in render_template'
2016-09-17T22:33:14.010543+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in `block in instrument'
2016-09-17T22:33:14.010543+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
2016-09-17T22:33:14.010544+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2016-09-17T22:33:14.010545+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
2016-09-17T22:33:14.010545+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/abstract_renderer.rb:39:in `instrument'
2016-09-17T22:33:14.010546+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:53:in `block in render_template'
2016-09-17T22:33:14.010547+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:61:in `render_with_layout'
2016-09-17T22:33:14.010547+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:52:in `render_template'
2016-09-17T22:33:14.010548+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/template_renderer.rb:14:in `render'
2016-09-17T22:33:14.010549+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:42:in `render_template'
2016-09-17T22:33:14.010549+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/renderer/renderer.rb:23:in `render'
2016-09-17T22:33:14.010550+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:100:in `_render_template'
2016-09-17T22:33:14.010550+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/streaming.rb:217:in `_render_template'
2016-09-17T22:33:14.010551+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:83:in `render_to_body'
2016-09-17T22:33:14.010551+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:32:in `render_to_body'
2016-09-17T22:33:14.010552+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/renderers.rb:37:in `render_to_body'
2016-09-17T22:33:14.010553+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/rendering.rb:25:in `render'
2016-09-17T22:33:14.010553+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:16:in `render'
2016-09-17T22:33:14.010554+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:44:in `block (2 levels) in render'
2016-09-17T22:33:14.010555+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
2016-09-17T22:33:14.010555+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/benchmark.rb:296:in `realtime'
2016-09-17T22:33:14.010556+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/core_ext/benchmark.rb:12:in `ms'
2016-09-17T22:33:14.010557+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:44:in `block in render'
2016-09-17T22:33:14.010557+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:87:in `cleanup_view_runtime'
2016-09-17T22:33:14.010558+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
2016-09-17T22:33:14.010559+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:43:in `render'
2016-09-17T22:33:14.010559+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2016-09-17T22:33:14.010560+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2016-09-17T22:33:14.010561+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
2016-09-17T22:33:14.010561+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
2016-09-17T22:33:14.010562+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2016-09-17T22:33:14.010563+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
2016-09-17T22:33:14.010563+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
2016-09-17T22:33:14.010564+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
2016-09-17T22:33:14.010567+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
2016-09-17T22:33:14.010567+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
2016-09-17T22:33:14.010569+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
2016-09-17T22:33:14.010569+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
2016-09-17T22:33:14.010570+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
2016-09-17T22:33:14.010571+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
2016-09-17T22:33:14.010572+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
2016-09-17T22:33:14.010572+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2016-09-17T22:33:14.010573+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
2016-09-17T22:33:14.010573+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2016-09-17T22:33:14.010574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
2016-09-17T22:33:14.010574+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2016-09-17T22:33:14.010575+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2016-09-17T22:33:14.010576+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2016-09-17T22:33:14.010576+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
2016-09-17T22:33:14.010577+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
2016-09-17T22:33:14.010578+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
2016-09-17T22:33:14.010578+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2016-09-17T22:33:14.010579+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
2016-09-17T22:33:14.010580+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
2016-09-17T22:33:14.010580+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
2016-09-17T22:33:14.010581+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
2016-09-17T22:33:14.010582+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
2016-09-17T22:33:14.010582+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
2016-09-17T22:33:14.010583+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
2016-09-17T22:33:14.010583+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
2016-09-17T22:33:14.010584+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
2016-09-17T22:33:14.010585+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `public_send'
2016-09-17T22:33:14.010585+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `method_missing'
2016-09-17T22:33:14.010586+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:51:in `serve'
2016-09-17T22:33:14.010587+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
2016-09-17T22:33:14.010587+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
2016-09-17T22:33:14.010588+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
2016-09-17T22:33:14.010589+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
2016-09-17T22:33:14.010590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
2016-09-17T22:33:14.010590+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
2016-09-17T22:33:14.010591+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
2016-09-17T22:33:14.010591+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2016-09-17T22:33:14.010592+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
2016-09-17T22:33:14.010596+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
2016-09-17T22:33:14.010597+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
2016-09-17T22:33:14.010597+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
2016-09-17T22:33:14.010598+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
2016-09-17T22:33:14.010599+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
2016-09-17T22:33:14.010599+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2016-09-17T22:33:14.010600+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
2016-09-17T22:33:14.010601+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
2016-09-17T22:33:14.010601+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
2016-09-17T22:33:14.010602+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2016-09-17T22:33:14.010602+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2016-09-17T22:33:14.010603+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2016-09-17T22:33:14.010612+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2016-09-17T22:33:14.010613+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
2016-09-17T22:33:14.010614+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `block in call'
2016-09-17T22:33:14.010615+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2016-09-17T22:33:14.010615+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'
2016-09-17T22:33:14.010616+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'
2016-09-17T22:33:14.010617+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `call'
2016-09-17T22:33:14.010617+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2016-09-17T22:33:14.010618+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
2016-09-17T22:33:14.010619+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
2016-09-17T22:33:14.010619+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2016-09-17T22:33:14.010620+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/static.rb:116:in `call'
2016-09-17T22:33:14.010620+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
2016-09-17T22:33:14.010621+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
2016-09-17T22:33:14.010622+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
2016-09-17T22:33:14.010622+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
Figured it out - basically I needed to set my Blazer Environment variable within Heroku so I did this in the terminal:
heroku run rails c
> ENV['DATABASE_URL']
> *My Database URL*
heroku config:set BLAZER_DATABASE_URL=*My Database URL*
And it worked!
I'm having an issue with spree when deployed to heroku. Everything works except when you press the place order button.
The weird thing is the order does go through, when I check the dashboard at the payment gateway it does go through and the same being when you refresh the page. But your not shown the order. It just wont show the order confirmation page. After looking at the log I did notice this:
I already configured Braintree and it works fine when running a local server, but in heroku it doesnt seem to work anymore.
Update: Heroku log
2015-09-28T21:00:14.617116+00:00 app[web.1]: [ActiveJob] [ActionMailer::DeliveryJob] [ee2aedeb-307e-4cef-a847-6929d31b1988] Performed ActionMailer::DeliveryJob from Inline(mailers) in 458.82ms
2015-09-28T21:00:14.621114+00:00 app[web.1]:
2015-09-28T21:00:14.621117+00:00 app[web.1]: Errno::ECONNREFUSED (Connection refused - connect(2) for "localhost" port 25):
2015-09-28T21:00:14.621119+00:00 app[web.1]: vendor/ruby-2.2.1/lib/ruby/2.2.0/net/smtp.rb:541:in `initialize'
2015-09-28T21:00:14.621121+00:00 app[web.1]: vendor/ruby-2.2.1/lib/ruby/2.2.0/net/smtp.rb:541:in `open'
2015-09-28T21:00:14.621122+00:00 app[web.1]: vendor/ruby-2.2.1/lib/ruby/2.2.0/net/smtp.rb:541:in `tcp_socket'
2015-09-28T21:00:14.621124+00:00 app[web.1]: vendor/ruby-2.2.1/lib/ruby/2.2.0/net/smtp.rb:551:in `block in do_start'
2015-09-28T21:00:14.621125+00:00 app[web.1]: vendor/ruby-2.2.1/lib/ruby/2.2.0/timeout.rb:89:in `block in timeout'
2015-09-28T21:00:14.621126+00:00 app[web.1]: vendor/ruby-2.2.1/lib/ruby/2.2.0/timeout.rb:99:in `call'
2015-09-28T21:00:14.621128+00:00 app[web.1]: vendor/ruby-2.2.1/lib/ruby/2.2.0/timeout.rb:99:in `timeout'
2015-09-28T21:00:14.621132+00:00 app[web.1]: vendor/ruby-2.2.1/lib/ruby/2.2.0/net/smtp.rb:550:in `do_start'
2015-09-28T21:00:14.621133+00:00 app[web.1]: vendor/ruby-2.2.1/lib/ruby/2.2.0/net/smtp.rb:520:in `start'
2015-09-28T21:00:14.621135+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/mail-2.6.3/lib/mail/network/delivery_methods/smtp.rb:112:in `deliver!'
2015-09-28T21:00:14.621136+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/mail-2.6.3/lib/mail/message.rb:2141:in `do_delivery'
2015-09-28T21:00:14.621138+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/mail-2.6.3/lib/mail/message.rb:236:in `block in deliver'
2015-09-28T21:00:14.621139+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.3/lib/action_mailer/base.rb:543:in `block in deliver_mail'
2015-09-28T21:00:14.621141+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `block in instrument'
2015-09-28T21:00:14.621143+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2015-09-28T21:00:14.621144+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `instrument'
2015-09-28T21:00:14.621145+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.3/lib/action_mailer/base.rb:541:in `deliver_mail'
2015-09-28T21:00:14.621146+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/mail-2.6.3/lib/mail/message.rb:236:in `deliver'
2015-09-28T21:00:14.621147+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.3/lib/action_mailer/message_delivery.rb:85:in `deliver_now'
2015-09-28T21:00:14.621149+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.3/lib/action_mailer/delivery_job.rb:10:in `perform'
2015-09-28T21:00:14.621150+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/execution.rb:32:in `block in perform_now'
2015-09-28T21:00:14.621151+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
2015-09-28T21:00:14.621152+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
2015-09-28T21:00:14.621154+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
2015-09-28T21:00:14.621160+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621161+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621163+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:496:in `block (2 levels) in around'
2015-09-28T21:00:14.621164+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:341:in `call'
2015-09-28T21:00:14.621165+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:341:in `block (2 levels) in simple'
2015-09-28T21:00:14.621167+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:23:in `call'
2015-09-28T21:00:14.621168+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:23:in `block (4 levels) in <module:Logging>'
2015-09-28T21:00:14.621169+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `block in instrument'
2015-09-28T21:00:14.621171+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2015-09-28T21:00:14.621172+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `instrument'
2015-09-28T21:00:14.621173+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:22:in `block (3 levels) in <module:Logging>'
2015-09-28T21:00:14.621174+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:43:in `block in tag_logger'
2015-09-28T21:00:14.621176+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2015-09-28T21:00:14.621177+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:26:in `tagged'
2015-09-28T21:00:14.621178+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `tagged'
2015-09-28T21:00:14.621180+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:43:in `tag_logger'
2015-09-28T21:00:14.621181+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:19:in `block (2 levels) in <module:Logging>'
2015-09-28T21:00:14.621186+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:439:in `instance_exec'
2015-09-28T21:00:14.621187+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:439:in `block in make_lambda'
2015-09-28T21:00:14.621189+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:340:in `call'
2015-09-28T21:00:14.621190+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:340:in `block in simple'
2015-09-28T21:00:14.621191+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:495:in `call'
2015-09-28T21:00:14.621192+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:495:in `block in around'
2015-09-28T21:00:14.621194+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621195+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621196+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
2015-09-28T21:00:14.621198+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/execution.rb:31:in `perform_now'
2015-09-28T21:00:14.621199+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/execution.rb:21:in `execute'
2015-09-28T21:00:14.621200+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/queue_adapters/inline_adapter.rb:14:in `enqueue'
2015-09-28T21:00:14.621202+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/enqueuing.rb:71:in `block in enqueue'
2015-09-28T21:00:14.621203+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
2015-09-28T21:00:14.621204+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
2015-09-28T21:00:14.621205+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
2015-09-28T21:00:14.621206+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621208+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621209+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:496:in `block (2 levels) in around'
2015-09-28T21:00:14.621210+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:341:in `call'
2015-09-28T21:00:14.621211+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:341:in `block (2 levels) in simple'
2015-09-28T21:00:14.621213+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:14:in `call'
2015-09-28T21:00:14.621214+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:14:in `block (3 levels) in <module:Logging>'
2015-09-28T21:00:14.621215+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:43:in `block in tag_logger'
2015-09-28T21:00:14.621217+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2015-09-28T21:00:14.621218+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:26:in `tagged'
2015-09-28T21:00:14.621219+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `tagged'
2015-09-28T21:00:14.621221+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:43:in `tag_logger'
2015-09-28T21:00:14.621222+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/logging.rb:13:in `block (2 levels) in <module:Logging>'
2015-09-28T21:00:14.621223+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:439:in `instance_exec'
2015-09-28T21:00:14.621225+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:439:in `block in make_lambda'
2015-09-28T21:00:14.621226+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:340:in `call'
2015-09-28T21:00:14.621227+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:340:in `block in simple'
2015-09-28T21:00:14.621228+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:495:in `call'
2015-09-28T21:00:14.621229+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:495:in `block in around'
2015-09-28T21:00:14.621230+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621232+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621233+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
2015-09-28T21:00:14.621234+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/enqueuing.rb:67:in `enqueue'
2015-09-28T21:00:14.621238+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activejob-4.2.3/lib/active_job/configured_job.rb:13:in `perform_later'
2015-09-28T21:00:14.621240+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.3/lib/action_mailer/message_delivery.rb:112:in `enqueue_delivery'
2015-09-28T21:00:14.621241+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionmailer-4.2.3/lib/action_mailer/message_delivery.rb:68:in `deliver_later'
2015-09-28T21:00:14.621242+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/spree_core-3.0.0/app/models/spree/order.rb:340:in `deliver_order_confirmation_email'
2015-09-28T21:00:14.621244+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/spree_core-3.0.0/app/models/spree/order.rb:328:in `finalize!'
2015-09-28T21:00:14.621245+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/eval_helpers.rb:58:in `evaluate_method'
2015-09-28T21:00:14.621246+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/callback.rb:192:in `block in run_methods'
2015-09-28T21:00:14.621247+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/callback.rb:191:in `each'
2015-09-28T21:00:14.621248+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/callback.rb:191:in `run_methods'
2015-09-28T21:00:14.621249+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/callback.rb:159:in `call'
2015-09-28T21:00:14.621251+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition.rb:394:in `block (2 levels) in after'
2015-09-28T21:00:14.621252+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition.rb:394:in `each'
2015-09-28T21:00:14.621253+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition.rb:394:in `block in after'
2015-09-28T21:00:14.621254+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition.rb:392:in `catch'
2015-09-28T21:00:14.621255+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition.rb:392:in `after'
2015-09-28T21:00:14.621257+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition.rb:195:in `run_callbacks'
2015-09-28T21:00:14.621258+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition_collection.rb:127:in `run_callbacks'
2015-09-28T21:00:14.621260+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition_collection.rb:63:in `block (2 levels) in perform'
2015-09-28T21:00:14.621261+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition_collection.rb:63:in `catch'
2015-09-28T21:00:14.621262+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition_collection.rb:63:in `block in perform'
2015-09-28T21:00:14.621263+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition_collection.rb:186:in `within_transaction'
2015-09-28T21:00:14.621264+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition_collection.rb:62:in `perform'
2015-09-28T21:00:14.621265+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/transition.rb:163:in `perform'
2015-09-28T21:00:14.621267+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/event.rb:155:in `fire'
2015-09-28T21:00:14.621268+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/event.rb:219:in `block in add_actions'
2015-09-28T21:00:14.621269+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/machine.rb:725:in `call'
2015-09-28T21:00:14.621270+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/state_machines-0.4.0/lib/state_machines/machine.rb:725:in `block (2 levels) in define_helper'
2015-09-28T21:00:14.621271+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/spree_frontend-3.0.0/app/controllers/spree/checkout_controller.rb:30:in `update'
2015-09-28T21:00:14.621273+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2015-09-28T21:00:14.621274+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:198:in `process_action'
2015-09-28T21:00:14.621275+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
2015-09-28T21:00:14.621276+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2015-09-28T21:00:14.621277+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
2015-09-28T21:00:14.621278+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:115:in `call'
2015-09-28T21:00:14.621280+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:553:in `block (2 levels) in compile'
2015-09-28T21:00:14.621281+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621282+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:503:in `call'
2015-09-28T21:00:14.621286+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:88:in `run_callbacks'
2015-09-28T21:00:14.621287+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/abstract_controller/callbacks.rb:19:in `process_action'
2015-09-28T21:00:14.621288+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/rescue.rb:29:in `process_action'
2015-09-28T21:00:14.621289+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2015-09-28T21:00:14.621291+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `block in instrument'
2015-09-28T21:00:14.621292+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2015-09-28T21:00:14.621293+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/notifications.rb:164:in `instrument'
2015-09-28T21:00:14.621294+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2015-09-28T21:00:14.621296+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2015-09-28T21:00:14.621297+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2015-09-28T21:00:14.621298+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/abstract_controller/base.rb:137:in `process'
2015-09-28T21:00:14.621299+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionview-4.2.3/lib/action_view/rendering.rb:30:in `process'
2015-09-28T21:00:14.621301+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal.rb:196:in `dispatch'
2015-09-28T21:00:14.621302+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2015-09-28T21:00:14.621303+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_controller/metal.rb:237:in `block in action'
2015-09-28T21:00:14.621305+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76:in `call'
2015-09-28T21:00:14.621306+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
2015-09-28T21:00:14.621307+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:45:in `serve'
2015-09-28T21:00:14.621308+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:43:in `block in serve'
2015-09-28T21:00:14.621309+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `each'
2015-09-28T21:00:14.621311+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `serve'
2015-09-28T21:00:14.617755+00:00 app[web.1]: Completed 500 Internal Server Error in 3309ms (ActiveRecord: 449.9ms)
2015-09-28T21:00:14.621312+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:821:in `call'
2015-09-28T21:00:14.621313+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/engine.rb:518:in `call'
2015-09-28T21:00:14.621314+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/railtie.rb:194:in `public_send'
2015-09-28T21:00:14.621315+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/railtie.rb:194:in `method_missing'
2015-09-28T21:00:14.621317+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/mapper.rb:51:in `serve'
2015-09-28T21:00:14.621318+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:43:in `block in serve'
2015-09-28T21:00:14.621319+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `each'
2015-09-28T21:00:14.621320+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/journey/router.rb:30:in `serve'
2015-09-28T21:00:14.621321+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/routing/route_set.rb:821:in `call'
2015-09-28T21:00:14.621322+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
2015-09-28T21:00:14.621324+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
2015-09-28T21:00:14.621325+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
2015-09-28T21:00:14.621326+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
2015-09-28T21:00:14.621328+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'
2015-09-28T21:00:14.621329+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
2015-09-28T21:00:14.621330+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2015-09-28T21:00:14.621336+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/flash.rb:260:in `call'
2015-09-28T21:00:14.621338+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
2015-09-28T21:00:14.621339+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
2015-09-28T21:00:14.621383+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/cookies.rb:560:in `call'
2015-09-28T21:00:14.621385+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/query_cache.rb:36:in `call'
2015-09-28T21:00:14.621386+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
2015-09-28T21:00:14.621387+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2015-09-28T21:00:14.621389+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/callbacks.rb:84:in `run_callbacks'
2015-09-28T21:00:14.621390+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2015-09-28T21:00:14.621391+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2015-09-28T21:00:14.621392+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2015-09-28T21:00:14.621393+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2015-09-28T21:00:14.621395+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:38:in `call_app'
2015-09-28T21:00:14.621396+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:20:in `block in call'
2015-09-28T21:00:14.621397+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2015-09-28T21:00:14.621398+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:26:in `tagged'
2015-09-28T21:00:14.621399+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/tagged_logging.rb:68:in `tagged'
2015-09-28T21:00:14.621401+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/rack/logger.rb:20:in `call'
2015-09-28T21:00:14.621402+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2015-09-28T21:00:14.621403+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
2015-09-28T21:00:14.621404+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
2015-09-28T21:00:14.621406+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.3/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2015-09-28T21:00:14.621407+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/actionpack-4.2.3/lib/action_dispatch/middleware/static.rb:116:in `call'
2015-09-28T21:00:14.621408+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
2015-09-28T21:00:14.621409+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/engine.rb:518:in `call'
2015-09-28T21:00:14.621411+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/railties-4.2.3/lib/rails/application.rb:165:in `call'
2015-09-28T21:00:14.621412+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
2015-09-28T21:00:14.621413+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/puma-2.13.4/lib/puma/server.rb:541:in `handle_request'
2015-09-28T21:00:14.621416+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/puma-2.13.4/lib/puma/server.rb:388:in `process_client'
2015-09-28T21:00:14.621417+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/puma-2.13.4/lib/puma/server.rb:270:in `block in run'
2015-09-28T21:00:14.621419+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/puma-2.13.4/lib/puma/thread_pool.rb:106:in `call'
2015-09-28T21:00:14.621420+00:00 app[web.1]: vendor/bundle/ruby/2.2.0/gems/puma-2.13.4/lib/puma/thread_pool.rb:106:in `block in spawn_thread'
2015-09-28T21:00:14.621422+00:00 app[web.1]:
2015-09-28T21:00:14.621423+00:00 app[web.1]:
2015-09-28T21:00:14.629494+00:00 heroku[router]: at=info method=POST path="/checkout/update/confirm" host=shuabe-car.herokuapp.com request_id=e44c7575-4835-48a7-bd1a-e5c2c4a6e737 fwd="104.230.226.189" dyno=web.1 connect=0ms service=3330ms status=500 bytes=1669
I want to upload product images in my online shop via cloudinary and carrierwave.
I followed the instructions on the cloudinary official web site and i was able to upload images in development environment. But after I pushed it on heroku, I tried to create new product with product picture, but i got error "If you are the application owner check the logs for more information."
I couldn't find specific error(s) in heroku logs:
2015-01-09T17:40:00.955232+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bundler/gems/activeadmin-7414104d41e5/lib/active_admin/resource_controller/data_access.rb:138:in `build_new_resource'
2015-01-09T17:40:00.955231+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.0.rc3/lib/active_record/inheritance.rb:61:in `new'
2015-01-09T17:40:00.949065+00:00 app[web.1]: AdminUser Load (1.7ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = $1 ORDER BY "admin_users"."id" ASC LIMIT 1 [["id", 1]]
2015-01-09T17:40:00.955222+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal/strong_parameters.rb:188:in `each_pair'
2015-01-09T17:40:00.955234+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bundler/gems/activeadmin-7414104d41e5/lib/active_admin/resource_controller/data_access.rb:121:in `build_resource'
2015-01-09T17:40:00.955247+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2015-01-09T17:40:00.955185+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/carrierwave-0.10.0/lib/carrierwave/orm/activerecord.rb:38:in `image='
2015-01-09T17:40:00.955249+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/abstract_controller/base.rb:198:in `process_action'
2015-01-09T17:40:00.955225+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.0.rc3/lib/active_record/core.rb:557:in `init_attributes'
2015-01-09T17:40:00.955264+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2015-01-09T17:40:00.955274+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2
.0.rc3/lib/active_support/callbacks.rb:169:in `call'
2015-01-09T17:40:00.955266+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:117:in `call'
2015-01-09T17:40:00.955268+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:117:in `call'
2015-01-09T17:40:00.955187+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.0.rc3/lib/active_record/attribute_assignment.rb:54:in `public_send'
2015-01-09T17:40:00.955271+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `call'
2015-01-09T17:40:00.955286+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `call'
2015-01-09T17:40:00.955301+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:92:in `call'
2015-01-09T17:40:00.955278+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:234:in `call'
2015-01-09T17:40:00.955227+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.0.rc3/lib/active_record/core.rb:280:in `initialize'
2015-01-09T17:40:00.955306+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:81:in `run_callbacks'
2015-01-09T17:40:00.955321+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.0.rc3/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2015-01-09T17:40:00.955320+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2015-01-09T17:40:00.955236+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/bundler/gems/inherited_resources-9e4c7576b48e/lib/inherited_resources/actions.rb:31:in `create'
2015-01-09T17:40:00.955251+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal/rendering.rb:10:in `process_action'
2015-01-09T17:40:00.955334+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/routing/route_set.rb:42:in `serve'
2015-01-09T17:40:00.955336+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/journey/router.rb:43:in `block in serve'
2015-01-09T17:40:00.955318+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2015-01-09T17:40:00.955283+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:234:in `call'
2015-01-09T17:40:00.955229+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.0.rc3/lib/active_record/inheritance.rb:61:in `new'
2015-01-09T17:40:00.955292+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `call'
2015-01-09T17:40:00.955289+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `call'
2015-01-09T17:40:00.955276+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `block in halting'
2015-01-09T17:40:00.955273+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `block in halting'
2015-01-09T17:40:00.955324+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionview-4.2.0.rc3/lib/action_view/rendering.rb:30:in `process'
2015-01-09T17:40:00.955303+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:92:in `_run_callbacks'
2015-01-09T17:40:00.955288+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `block in halting'
2015-01-09T17:40:00.955308+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/abstract_controller/callbacks.rb:19:in `process_action'
2015-01-09T17:40:00.955310+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal/rescue.rb:29:in `process_action'
2015-01-09T17:40:00.955353+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/conditionalget.rb:38:in `call'
2015-01-09T17:40:00.955358+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/flash.rb:260:in `call'
2015-01-09T17:40:00.955331+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/routing/route_set.rb:73:in `call'
2015-01-09T17:40:00.955342+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/journey/router.rb:30:in `each'
2015-01-09T17:40:00.955269+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `block in halting'
2015-01-09T17:40:00.955300+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `block in halting'
2015-01-09T17:40:00.955313+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/notifications.rb:164:in `block in instrument'
2015-01-09T17:40:00.955346+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
2015-01-09T17:40:00.955323+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/abstract_controller/base.rb:137:in `process'
2015-01-09T17:40:00.955355+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/head.rb:13:in `call'
2015-01-09T17:40:00.955281+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:234:in `block in halting'
2015-01-09T17:40:00.955332+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2015-01-09T17:40:00.955356+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2015-01-09T17:40:00.955378+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
2015-01-09T17:40:00.955343+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/journey/router.rb:30:in `serve'
2015-01-09T17:40:00.955315+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2015-01-09T17:40:00.955284+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:234:in `block in halting'
2015-01-09T17:40:00.955326+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal.rb:195:in `dispatch'
2015-01-09T17:40:00.955374+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:88:in `call'
2015-01-09T17:40:00.955381+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2015-01-09T17:40:00.955379+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:81:in `run_callbacks'
2015-01-09T17:40:00.955316+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/notifications.rb:164:in `instrument'
2015-01-09T17:40:00.955385+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2015-01-09T17:40:00.955291+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:169:in `block in halting'
2015-01-09T17:40:00.955359+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/session/abstract/id.rb:225:in `context'
2015-01-09T17:40:00.955329+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal.rb:236:in `block in action'
2015-01-09T17:40:00.955348+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
2015-01-09T17:40:00.955364+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/cookies.rb:560:in `call'
2015-01-09T17:40:00.955390+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/tagged_logging.rb:68:in `block in tagged'
2015-01-09T17:40:00.955350+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
2015-01-09T17:40:00.955411+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/methodoverride.rb:22:in `call'
2015-01-09T17:40:00.955409+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/request_id.rb:21:in `call'
2015-01-09T17:40:00.955305+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
2015-01-09T17:40:00.955352+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/etag.rb:24:in `call'
2015-01-09T17:40:00.955365+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.0.rc3/lib/active_record/query_cache.rb:36:in `call'
2015-01-09T17:40:00.955376+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/callbacks.rb:88:in `_run_callbacks'
2015-01-09T17:40:00.955388+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/rack/logger.rb:20:in `block in call'
2015-01-09T17:40:00.955431+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2015-01-09T17:40:00.955394+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/rack/logger.rb:20:in `call'
2015-01-09T17:40:00.955418+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/sendfile.rb:113:in `call'
2015-01-09T17:40:00.955387+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/rack/logger.rb:38:in `call_app'
2015-01-09T17:40:00.955413+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/runtime.rb:18:in `call'
2015-01-09T17:40:00.955373+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2015-01-09T17:40:00.955362+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/session/abstract/id.rb:220:in `call'
2015-01-09T17:40:00.955393+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/tagged_logging.rb:68:in `tagged'
2015-01-09T17:40:00.955416+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/static.rb:113:in `call'
2015-01-09T17:40:00.955423+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/lock.rb:17:in `call'
2015-01-09T17:40:00.955311+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2015-01-09T17:40:00.955414+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2015-01-09T17:40:00.955428+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2015-01-09T17:40:00.955421+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/application.rb:164:in `call'
2015-01-09T17:40:00.955433+00:00 app[web.1]:
2015-01-09T17:40:00.955419+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-4.2.0.rc3/lib/rails/engine.rb:518:in `call'
2015-01-09T17:40:00.955391+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-4.2.0.rc3/lib/active_support/tagged_logging.rb:26:in `tagged'
2015-01-09T17:40:00.955425+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/content_length.rb:15:in `call'
2015-01-09T17:40:00.955382+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2015-01-09T17:40:00.955327+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2015-01-09T17:40:00.955426+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.6.0.beta2/lib/rack/handler/webrick.rb:89:in `service'
2015-01-09T17:40:00.955434+00:00 app[web.1]:
2015-01-09T17:40:00.955430+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2015-01-09T17:40:00.955345+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/routing/route_set.rb:802:in `call'
2015-01-09T17:40:00.955371+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-4.2.0.rc3/lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
2015-01-09T17:40:00.955384+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-4.2.0.rc3/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
Form:
form(:html => { :multipart => true }) do |f|
f.inputs 'New product' do
...
f.file_field :image, label: 'Image'
f.submit
end
end
Uploader:
class ImageUploader < CarrierWave::Uploader::Base
include Cloudinary::CarrierWave
end
Model:
class Product < ActiveRecord::Base
...
mount_uploader :image, ImageUploader
...
end
Controller:
def create
#product = Product.new(product_params)
respond_to do |format|
if #product.save
format.html { redirect_to #product }
else
format.html { render :new, notice: 'Errors.' }
end
end
end
def product_params
params.require(:product).permit(:title, :short_description, :description, :image, :price)
end
I have Rails 4.2.0
Any idea why this isn't working?
This is odd, because testing locally it works fine. I sign out, it redirects through Devise's sign_out process to my homepage. But on Heroku I get a page missing error.
The Heroku logs are a bit baffling:
2013-06-21T08:05:17.173706+00:00 app[web.1]: Started GET "/users/sign_out" for 115.87.109.249 at 2013-06-21 08:05:17 +0000
2013-06-21T08:05:17.173706+00:00 app[web.1]:
2013-06-21T0
8:05:17.176805+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_controller/metal.rb:246:in `block in action'
2013-06-21T08:05:17.176966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
2013-06-21T08:05:17.176805+00:00 app[web.1]:
2013-06-21T08:05:17.176805+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_controller/metal.rb:203:in `dispatch'
2013-06-21T08:05:17.176966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2013-06-21T08:05:17.176966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call'
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call'
2013-06-21T08:05:17.176966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/head.rb:14:in `call'
2013-06-21T08:05:17.176805+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73:in `call'
2013-06-21T08:05:17.176966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2013-06-21T08:05:17.176966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
2013-06-21T08:05:17.176805+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `_run__434936903609672590__call__3559819517956854473__callbacks'
2013-06-21T08:05:17.176805+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:36:in `call'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2013-06-21T08:05:17.176805+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:45:in `process'
2013-06-21T08:05:17.176805+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2013-06-21T08:05:17.176966+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/flash.rb:242:in `call'
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2013-06-21T08:05:17.178109+00:00 app[web.1]:
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2013-06-21T08:05:17.178109+00:00 app[web.1]:
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/cookies.rb:338:in `call'
2013-06-21T08:05:17.177151+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.3/lib/active_record/query_cache.rb:64:in `call'
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2013-06-21T08:05:17.178109+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.3/lib/rails/engine.rb:479:in `call'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.3/lib/rails/rack/logger.rb:26:in `call_app'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.3/lib/rails/rack/logger.rb:16:in `call'
2013-06-21T08:05:17.177608+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/activesupport-3.2.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/actionpack-3.2.3/lib/action_dispatch/middleware/static.rb:62:in `call'
2013-06-21T08:05:17.178109+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
2013-06-21T08:05:17.178109+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.3/lib/rails/application.rb:220:in `call'
2013-06-21T08:05:17.178109+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/railties-3.2.3/lib/rails/rack/log_tailer.rb:14:in `call'
2013-06-21T08:05:17.178109+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
2013-06-21T08:05:17.178109+00:00 app[web.1]: vendor/ruby-2.0.0/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
2013-06-21T08:05:17.177775+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2013-06-21T08:05:17.178109+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
2013-06-21T08:05:17.178109+00:00 app[web.1]: vendor/bundle/ruby/2.0.0/gems/rack-1.4.5/lib/rack/handler/webrick.rb:59:in `service'
You should follow this wiki page
https://github.com/plataformatec/devise/wiki/How-To:-Add-sign_in,-sign_out,-and-sign_up-links-to-your-layout-template
I have found, you are trying to call /users/sign_out with GET method
2013-06-21T08:05:17.173706+00:00 app[web.1]: Started GET "/users/sign_out" for 115.87.109.249 at 2013-06-21 08:05:17 +0000
while devise create route for DELETE method .. have you created route for it?
Forgive me if this is a duplicate of another post, but I can't seem to identify anything in this error log that I recognize as fixable. Generally, the topmost error is something in my rails app, and something that I can address. In this case, I havent a clue.
2012-06-04T03:53:58+00:00 app[web.1]:
2012-06-04T03:53:58+00:00 app[web.1]:
2012-06-04T03:53:58+00:00 app[web.1]: Started GET "/tasks.json" for 24.131.239.67 at 2012-06-03 20:53:58 -0700
2012-06-04T03:53:58+00:00 app[web.1]: Processing by TasksController#index as JSON
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/base.rb:150:in `process_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rendering.rb:11:in `process_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:451:in `_run__3347105819948830800__process_action__6324466216974895__callbacks'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94:in `run_callbacks'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb:17:in `process_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rescue.rb:17:in `process_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52:in `block in instrument'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52:in `instrument'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/vendor/plugins/rpm/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `block in process_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/vendor/plugins/rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:255:in `block in perform_action_with_newrelic_trace'
2012-06-04T03:53:58+00:00 app[web.1]: /app/vendor/plugins/rpm/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
2012-06-04T03:53:58+00:00 app[web.1]: /app/vendor/plugins/rpm/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:250:in `perform_action_with_newrelic_trace'
2012-06-04T03:53:58+00:00 app[web.1]: /app/vendor/plugins/rpm/lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/base.rb:119:in `process'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/rendering.rb:41:in `process'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal.rb:138:in `dispatch'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal.rb:178:in `block in action'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:62:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:27:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148:in `block in call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93:in `block in recognize'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:68:in `optimized_each'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92:in `recognize'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:493:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/vendor/plugins/rpm/lib/new_relic/rack/browser_monitoring.rb:23:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/warden-1.2.0/lib/warden/manager.rb:35:in `block in call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/warden-1.2.0/lib/warden/manager.rb:34:in `catch'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/warden-1.2.0/lib/warden/manager.rb:34:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/head.rb:14:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/methodoverride.rb:24:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/flash.rb:182:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/cookies.rb:302:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.10/lib/active_record/query_cache.rb:32:in `block in call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.10/lib/active_record/query_cache.rb:12:in `cache'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.10/lib/active_record/query_cache.rb:31:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activerecord-3.0.10/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb:46:in `block in call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/sendfile.rb:106:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/rack/logger.rb:13:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/runtime.rb:17:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/lock.rb:13:in `block in call'
2012-06-04T03:53:58+00:00 app[web.1]: <internal:prelude>:10:in `synchronize'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/lock.rb:13:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/static.rb:30:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/airbrake-3.1.0/lib/airbrake/rack.rb:30:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/airbrake-3.1.0/lib/airbrake/user_informer.rb:12:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/application.rb:168:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/railties-3.0.10/lib/rails/application.rb:77:in `method_missing'
2012-06-04T03:53:58+00:00 app[web.1]: /home/heroku_rack/lib/static_assets.rb:9:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /home/heroku_rack/lib/last_access.rb:15:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/urlmap.rb:47:in `block in call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/urlmap.rb:41:in `each'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/urlmap.rb:41:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /home/heroku_rack/lib/date_header.rb:14:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /app/.bundle/gems/ruby/1.9.1/gems/rack-1.2.5/lib/rack/builder.rb:77:in `call'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/connection.rb:76:in `block in pre_process'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/connection.rb:74:in `catch'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/connection.rb:74:in `pre_process'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/connection.rb:57:in `process'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/connection.rb:42:in `receive_data'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/backends/base.rb:57:in `start'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/server.rb:156:in `start'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/controllers/controller.rb:80:in `start'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:177:in `run_command'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/lib/thin/runner.rb:143:in `run!'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/lib/ruby/gems/1.9.1/gems/thin-1.2.6/bin/thin:6:in `<top (required)>'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/bin/thin:19:in `load'
2012-06-04T03:53:58+00:00 app[web.1]: /usr/ruby1.9.2/bin/thin:19:in `<main>'
2012-06-04T03:53:58+00:00 app[web.1]: Completed 200 OK in 166ms (Views: 16.4ms | ActiveRecord: 71.9ms)
It seems to be a new-relic related error. Have you followed herokus' installation instructions?