i'm trying to deploy mongoid 3.0.0 app into heroku and gettting error below;
There is a configuration error with the current mongoid.yml.
No sessions configuration provided.
Mongoid's configuration requires that you provide details about each session that can be connected to, and requires in the sessions config at least 1 default session to exist.
Double check your mongoid.yml to make sure that you have a top-level sessions key with at least 1 default session configuration for it. You can regenerate a new mongoid.yml for assistance via rails g mongoid:config.
my mongoid.yml contains;
uri: <%= ENV['MONGOLAB_URI'] %>
i checked out source codes for workaround and didn't see any option to pass 'username', 'password' options also couldn't see anything about 'uri' option.