Rails updatedat not updating

Posted by / 10-Jan-2017 00:32

Rails updatedat not updating

I also noticed this fatal error in the production log: I, [2013-12-19T.067417 #32665] INFO -- : Started GET "/dashing/events" for 82.152.150.75 at 2013-12-19 0000 I, [2013-12-19T.069172 #32665] INFO -- : Processing by Dashing:: Events Controller#index as text/event-stream I, [2013-12-19T.070520 #32665] INFO -- : Completed 500 Internal Server Error in 6001ms F, [2013-12-19T.071932 #32665] FATAL -- : No Method Error (undefined method `call_on_error' for #): /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/action_controller/metal/live.rb:136:in `rescue in block in process' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/action_controller/metal/live.rb:145:in `block in process' F, [2013-12-19T.072085 #32665] FATAL -- : Timeout:: Error (Waited 3 sec): /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/connection_pool-1.2.0/lib/connection_pool/timed_stack.rb:35:in `block (2 levels) in pop' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/connection_pool-1.2.0/lib/connection_pool/timed_stack.rb:31:in `loop' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/connection_pool-1.2.0/lib/connection_pool/timed_stack.rb:31:in `block in pop' :10:in `synchronize' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/connection_pool-1.2.0/lib/connection_pool/timed_stack.rb:30:in `pop' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/connection_pool-1.2.0/lib/connection_pool.rb:66:in `checkout' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/connection_pool-1.2.0/lib/connection_pool.rb:53:in `with' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/connection_pool-1.2.0/lib/connection_pool.rb:110:in `method_missing' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/dashing-rails-2.2.0/app/controllers/dashing/events_controller.rb:20:in `ensure in index' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/dashing-rails-2.2.0/app/controllers/dashing/events_controller.rb:21:in `index' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/abstract_controller/base.rb:189:in `process_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/action_controller/metal/rendering.rb:10:in `process_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/abstract_controller/callbacks.rb:18:in `block in process_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.1/lib/active_support/callbacks.rb:403:in `_run__3951415170451182298__process_action__callbacks' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.1/lib/active_support/callbacks.rb:80:in `run_callbacks' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/abstract_controller/callbacks.rb:17:in `process_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/action_controller/metal/rescue.rb:29:in `process_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.1/lib/active_support/notifications.rb:159:in `block in instrument' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/activesupport-4.0.1/lib/active_support/notifications.rb:159:in `instrument' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/action_controller/metal/params_wrapper.rb:245:in `process_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/activerecord-4.0.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/abstract_controller/base.rb:136:in `process' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/abstract_controller/rendering.rb:44:in `process' /home/dashboard/dashboard/shared/bundle/ruby/1.9.1/gems/actionpack-4.0.1/lib/action_controller/metal/live.rb:132:in `block in process' It seems that some of your threads timeout for some reason.

Sometimes, these kind of tests are also called end-to-end tests.Hello, When I access /dashing/events on my dev machine I see, as expected, a stream of data.However when I access the same page in the production environment nothing is returned.We'll also cover how integration tests can sometimes serve as a replacement for controller tests.To follow this tutorial, you'll need to have Ruby installed along with Rails.

rails updatedat not updating-40rails updatedat not updating-67rails updatedat not updating-52

To get started, you can use Minitest is a complete testing suite for Ruby, supporting test-driven development (TDD), behavior-driven development (BDD), mocking, and benchmarking.

One thought on “rails updatedat not updating”