adacosta/mongoid_rails_migrations — pull request #22 by acechase (2012-07-27 16:42:11+00:00)
Title: mongoid 3.0 compatibility

I know there's no support for mongoid 3 yet, but I'm pretty sure that this one change is all that is needed to make mongoid_rails_migrations 3.0+ compatible.

I changed the tests to match, but when I tried to run bundle exec rake test:mongoid:migrations I get an error. But I think it's just an env setup error, not something related to the correctness of the code.

```
/Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:167:in `block in non_options': file not found: test:mongoid:migrations (ArgumentError)
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:146:in `map!'
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:146:in `non_options'
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:207:in `non_options'
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:52:in `process_args'
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:891:in `_run'
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/minitest/unit.rb:884:in `run'
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:21:in `run'
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:326:in `block (2 levels) in autorun'
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:27:in `run_once'
from /Users/acechase/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/test/unit.rb:325:in `block in autorun'
```