Flexible migrations for mongoid_rails_migrations
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
README.md
Rakefile
mongoid_class_for_collection.gemspec

README.md

Description

The responsible way to work with migrations in mongoid.

Synopsis

TODO

How do I use it?

def self.up book_model = mongoid_class_for_collection :books do # The same as Book.all books = all end

or save the class for use just like your real model

puts book_model.first.name end end

Authors