mongoid/mongoid — Issue #1540: ActiveRecord::ConnectionNotEstablished
Author: tipugin
Created: 2011-12-31 17:34:11+00:00
State: open

Can't connect to mongodb using Mongoid. Steps was:
- rails new testapp
- added gem 'mongoid' and gem 'bson_ext' to Gemfile
- rails g mongoid:config

Mongodb installed with Homebrew and running with default config. Rails 3.1.3, Mongoid 2.3.4, Mongodb 2.0.1.
But app always falls with "ActiveRecord::ConnectionNotEstablished". Mongo shell works fine, monitoring tool at localhost:28017 too.