-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
Version 3.0.8 introduces a regression issue that did not happen with 3.0.6. Calling rails g mongoid:config in a new application now results in an error. It's always reproducible on my machine. Here is a simple test case:
$ rails new test_mongoid -O --skip-bundle ... $ cd test_mongoid $ echo "gem 'mongoid', '3.0.8'" >> Gemfile $ bundle install $ rails g mongoid:config .../mongoid-3.0.8/lib/mongoid/sessions/factory.rb:61:in 'create_session': (Mongoid::Errors::NoSessionsConfig) Problem: No sessions configuration provided. ... from .../mongoid-3.0.8/lib/mongoid/sessions/factory.rb:43:in 'default' from .../mongoid-3.0.8/lib/mongoid/sessions.rb:109:in 'default' from .../mongoid-3.0.8/lib/mongoid.rb:124:in 'default_session' from .../mongoid-3.0.8/lib/mongoid/railtie.rb:84:in 'block (2 levels) in <class:Railtie>' ...