jeffbozek/mongoid_money — Issue #4: undefined method `instantiate' for Money:Class (NoMethodError)
Author: barmstrong
Created: 2012-02-21 02:09:40+00:00
State: open

Hmm...it doesn't seem to be able to instantiate the `Money` class?

undefined method `instantiate' for Money:Class (NoMethodError)
...gems/mongoid-2.4.3/lib/mongoid/fields.rb:282:in `add_field'
...gems/mongoid-2.4.3/lib/mongoid/fields.rb:193:in `field'

I have it in my class as:

field :amount_sent, :type => Money

Strange. I have it in my Gemfile as:

gem 'mongoid_money', :git => 'git://github.com/barmstrong/mongoid_money.git', :require => 'mongoid_money'