BSON::InvalidDocument: ActiveSupport::TimeWithZone is not currently supported; use a UTC Time instance instead. #150

Closed
xdmx opened this Issue Jan 29, 2012 · 1 comment

Comments

Projects
None yet
2 participants

xdmx commented Jan 29, 2012

Using Heroku with updated source code (just pulled)

Where deploys#create

[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/bson-1.3.1/lib/bson/bson_c.rb:24 → serialize
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/bson-1.3.1/lib/bson/bson_c.rb:24 → serialize
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.3.1/lib/mongo/collection.rb:391 → update
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/collections/master.rb:25 → block in update
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/collections/retry.rb:29 → retry_on_connection_failure
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/collections/master.rb:24 → update
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/collection.rb:149 → update
[PROJECT_ROOT][PROJECT_ROOT]/models/problem.rb:119 → cache_app_attributes
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/contexts/mongo.rb:215 → block in iterate
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/cursor.rb:49 → block in each
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongo-1.3.1/lib/mongo/cursor.rb:249 → each
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/cursor.rb:48 → each
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/contexts/mongo.rb:215 → iterate
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/criteria.rb:143 → block in each
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/criteria.rb:143 → tap
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/criteria.rb:143 → each
[PROJECT_ROOT][PROJECT_ROOT]/models/deploy.rb:44 → store_cached_attributes_on_problems
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:427 → _run_create_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94 → run_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence/insertion.rb:25 → block (2 levels) in prepare
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:421 → _run_save_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94 → run_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence/insertion.rb:24 → block in prepare
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence/insertion.rb:22 → tap
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence/insertion.rb:22 → prepare
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence/operations/embedded/insert.rb:30 → persist
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb:44 → insert
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb:149 → upsert
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/persistence.rb:70 → save!
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/embedded/many.rb:110 → block in create!
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/embedded/many.rb:110 → tap
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid/relations/embedded/many.rb:110 → create!
[PROJECT_ROOT][PROJECT_ROOT]/controllers/deploys_controller.rb:10 → create
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/implicit_render.rb:4 → send_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/base.rb:150 → process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rendering.rb:11 → process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb:18 → block in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:436 → _run__3596755805115085711__process_action__3736975145935744376__callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:410 → _run_process_action_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:94 → run_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/callbacks.rb:17 → process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rescue.rb:17 → process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb:30 → block in process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52 → block in instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications/instrumenter.rb:21 → instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/notifications.rb:52 → instrument
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/instrumentation.rb:29 → process_action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/base.rb:119 → process
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/abstract_controller/rendering.rb:41 → process
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal.rb:138 → dispatch
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal/rack_delegation.rb:14 → dispatch
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_controller/metal.rb:178 → block in action
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:62 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:62 → dispatch
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:27 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148 → block in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93 → block in recognize
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:68 → optimized_each
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92 → recognize
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/routing/route_set.rb:493 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-ssl-enforcer-0.2.4/lib/rack/ssl-enforcer.rb:36 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/rack/mongoid/middleware/identity_map.rb:33 → block in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/mongoid.rb:130 → unit_of_work
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.4/lib/rack/mongoid/middleware/identity_map.rb:33 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb:35 → block in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb:34 → catch
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/warden-1.0.5/lib/warden/manager.rb:34 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/best_standards_support.rb:17 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/head.rb:14 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/methodoverride.rb:24 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/params_parser.rb:21 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/flash.rb:182 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/session/abstract_store.rb:149 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/cookies.rb:302 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb:46 → block in call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/activesupport-3.0.10/lib/active_support/callbacks.rb:416 → _run_call_callbacks
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/callbacks.rb:44 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/sendfile.rb:106 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/remote_ip.rb:48 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/show_exceptions.rb:47 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.0.10/lib/rails/rack/logger.rb:13 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/runtime.rb:17 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/lock.rb:11 → block in call
[unknown source] →
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/rack-1.2.4/lib/rack/lock.rb:11 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/actionpack-3.0.10/lib/action_dispatch/middleware/static.rb:30 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.0.10/lib/rails[PROJECT_ROOT]lication.rb:168 → call
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/railties-3.0.10/lib/rails[PROJECT_ROOT]lication.rb:77 → method_missing
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb:528 → process_client
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb:600 → worker_loop
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb:485 → spawn_missing_workers
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/lib/unicorn/http_server.rb:135 → start
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/gems/unicorn-4.1.1/bin/unicorn:121 → <top (required)>
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/bin/unicorn:19 → load
[PROJECT_ROOT]/vendor/bundle/ruby/1.9.1/bin/unicorn:19 →

oruen closed this in 85891ca Jan 31, 2012

Owner

oruen commented Jan 31, 2012

Thanks for the report.

@JonathanTron JonathanTron added a commit to TalentBox/errbit that referenced this issue Feb 25, 2012

@oruen @JonathanTron oruen + JonathanTron Convert last_deploy_at to utc. fixes #150. 7b07fea
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment