Skip to content

Instantly share code, notes, and snippets.

@mbriggs
Created September 7, 2012 18:54
Show Gist options
  • Select an option

  • Save mbriggs/3668576 to your computer and use it in GitHub Desktop.

Select an option

Save mbriggs/3668576 to your computer and use it in GitHub Desktop.
Stack Trace B - set_timezone_from_user
/usr/ruby1.9.2/lib/ruby/1.9.1/thread.rb:71:in `sleep'
/usr/ruby1.9.2/lib/ruby/1.9.1/thread.rb:71:in `wait'
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/util/pool.rb:298:in `block (2 levels) in checkout'
:
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/util/pool.rb:252:in `block in checkout'
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/util/pool.rb:245:in `loop'
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/util/pool.rb:245:in `checkout'
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/connection.rb:500:in `checkout_writer'
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/cursor.rb:524:in `checkout_socket_from_connection'
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/cursor.rb:466:in `send_initial_query'
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/cursor.rb:458:in `refresh'
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/cursor.rb:128:in `next'
.bundle/gems/ruby/1.9.1/gems/mongo-1.6.2/lib/mongo/collection.rb:288:in `find_one'
.bundle/gems/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/collections/master.rb:25:in `block in find_one'
.bundle/gems/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/collections/retry.rb:29:in `retry_on_connection_failure'
.bundle/gems/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/collections/master.rb:24:in `find_one'
.bundle/gems/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/collection.rb:60:in `find_one'
.bundle/gems/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/contexts/mongo.rb:205:in `first'
.bundle/gems/ruby/1.9.1/gems/mongoid-2.4.12/lib/mongoid/criteria.rb:45:in `first'
.bundle/gems/ruby/1.9.1/gems/orm_adapter-0.0.7/lib/orm_adapter/adapters/mongoid.rb:32:in `get'
.bundle/gems/ruby/1.9.1/gems/devise-2.0.4/lib/devise/models/authenticatable.rb:138:in `serialize_from_session'
.bundle/gems/ruby/1.9.1/gems/devise-2.0.4/lib/devise/rails/warden_compat.rb:27:in `deserialize'
.bundle/gems/ruby/1.9.1/gems/warden-1.1.1/lib/warden/session_serializer.rb:31:in `fetch'
.bundle/gems/ruby/1.9.1/gems/warden-1.1.1/lib/warden/proxy.rb:196:in `user'
.bundle/gems/ruby/1.9.1/gems/warden-1.1.1/lib/warden/proxy.rb:293:in `_perform_authentication'
.bundle/gems/ruby/1.9.1/gems/warden-1.1.1/lib/warden/proxy.rb:90:in `authenticate'
.bundle/gems/ruby/1.9.1/gems/devise-2.0.4/lib/devise/controllers/helpers.rb:56:in `current_manager'
app/controllers/application_controller.rb:25:in `set_time_zone_from_user'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment