Rails 3 and Mongoid are just peachy. Here are a couple of development conveniences for using them together.
Pop this snippet in your
false will spare you some log noise. It’s also worth noting that Hirb works nicely out of the box for Mongoid documents, and I heartily recommend it.
And here’s a
db:console Rake task to stand in for the
rails dbconsole command that won’t work with Mongoid: