You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using MongoMapper and Sorcery with no problems. However, when I include the mongomapper-versioned in my Gemfile, I get the following warning when I start rails with either 'rails server' or 'rails console' :
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in MongoMapper::Plugins::AutoIncrement instead. (called from <top (required)> at /Users/nachbar/work/2012/railstest/rm323/config/application.rb:13)
This is a barebones test application, created from scratch just for testing. The line referenced in application.rb is just the boilerplate created by the Rails application generation:
which creates a user and returns the BSON ObjectId
Now, if I add
gem 'mongomapper-versioned'
to the Gemfile, and then
bundle install
rake versioned:create_indexes
I get the deprecation warning noted above (twice) after rake versioned:create_indexes. I get the same warnings any time I start rails with rails console or rails server. If I comment out the gem 'mongomapper-versioned' line in Gemfile, the warnings go away.
The text was updated successfully, but these errors were encountered:
I am using MongoMapper and Sorcery with no problems. However, when I include the mongomapper-versioned in my Gemfile, I get the following warning when I start rails with either 'rails server' or 'rails console' :
DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in MongoMapper::Plugins::AutoIncrement instead. (called from <top (required)> at /Users/nachbar/work/2012/railstest/rm323/config/application.rb:13)
This is a barebones test application, created from scratch just for testing. The line referenced in application.rb is just the boilerplate created by the Rails application generation:
In creating the application, I followed the instructions at http://mongomapper.com/documentation/getting-started/rails.html. Then, I added sorcery, by including in my Gemfile:
and running
Now, I can test my setup:
which creates a user and returns the BSON ObjectId
Now, if I add
to the Gemfile, and then
I get the deprecation warning noted above (twice) after rake versioned:create_indexes. I get the same warnings any time I start rails with rails console or rails server. If I comment out the gem 'mongomapper-versioned' line in Gemfile, the warnings go away.
The text was updated successfully, but these errors were encountered: