{"comment":{"created_at":"2011-10-21T22:45:21Z","body":"Here's the stack trace:\r\n\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongo-1.4.1/lib/mongo/db.rb:520:in `command'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongo-1.4.1/lib/mongo/collection.rb:571:in `find_and_modify'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid_auto_increment-0.0.8/lib/mongoid_auto_increment/incrementor.rb:18:in `inc'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid_auto_increment-0.0.8/lib/mongoid_auto_increment/incrementor.rb:51:in `inc'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid_auto_increment-0.0.8/lib/mongoid_auto_increment.rb:12:in `block in auto_increment'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:404:in `_run_create_callbacks'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence/insertion.rb:25:in `block (2 levels) in prepare'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:419:in `_run_save_callbacks'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.1.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence/insertion.rb:24:in `block in prepare'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence/insertion.rb:22:in `tap'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence/insertion.rb:22:in `prepare'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence/operations/insert.rb:26:in `persist'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence.rb:44:in `insert'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence.rb:188:in `block (2 levels) in create!'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence.rb:187:in `tap'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence.rb:187:in `block in create!'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence.rb:273:in `creating'\r\n2011-10-21T22:43:28+00:00 app[twitter.1]: /app/vendor/bundle/ruby/1.9.1/gems/mongoid-2.2.3/lib/mongoid/persistence.rb:186:in `create!'","updated_at":"2011-10-21T22:45:21Z","url":"https://api.github.com/repos/proton/mongoid_auto_increment/issues/comments/2487131","id":2487131,"user":{"avatar_url":"https://secure.gravatar.com/avatar/0f9580295f54106ce7c682eb652f4a1c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0f9580295f54106ce7c682eb652f4a1c","url":"https://api.github.com/users/fbjork","id":4585,"login":"fbjork"}},"action":"created","issue":{"number":1,"created_at":"2011-10-21T20:24:15Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"After upgrading to bson_ext 1.4.1 I got this error:\r\nMongo::OperationFailure: Database command 'findandmodify' failed: (errmsg: 'not master'; ok: '0.0').\r\n\r\nAny ideas?","comments":3,"title":"Mongo::OperationFailure: Database command 'findandmodify' failed: (errmsg: 'not master'; ok: '0.0').","updated_at":"2011-10-21T22:45:21Z","url":"https://api.github.com/repos/proton/mongoid_auto_increment/issues/1","id":2019214,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/0f9580295f54106ce7c682eb652f4a1c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"0f9580295f54106ce7c682eb652f4a1c","url":"https://api.github.com/users/fbjork","id":4585,"login":"fbjork"},"html_url":"https://github.com/proton/mongoid_auto_increment/issues/1","labels":[],"state":"open"},"legacy":{"issue_id":2019214,"comment_id":2487131}}