Rails 3.1 Database should be a Mongo::DB, not String. (Mongoid::Errors::InvalidDatabase) -


i passenger error.

full error page: https://dl.dropbox.com/u/1725428/stackoverflow/mongoid-errors-invaliddatabase.html

my setup is:
- mac osx lion
- rvm ruby v1.9.3p194
- passenger
- mongodb local server
- rails 3.1.1
- mongoid 2.4.10

this setup worked well, until tried changing rails version in gemfile 3.1.1 3.2. broke "database should mongo::db, not string. (mongoid::errors::invaliddatabase)"

tried use previous rails 3.1.1., error persisted.
tried reinstall rvm , gems. still occur.
tried use latest mongoid instead of previous working 2.4.5, not helping though.
database server running.

any ideas on cause this?

okay, bug in mongoid gem, used current 3.0rc right github , working.
https://github.com/mongoid/mongoid.git


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -