I have an active record model called Record (representing a physical vinyl record) and I'm trying to make use of money/rails which uses rubymoney/monetize
I've followed the instructions in money/rails which tells me to utilize a model class method "monetize :attribute_name_cents" and then address it with attribute_name, however when I run my application marketplace_price is nil. I have no clue what I'm doing wrong here. I'm certain the gem is loaded, and being used. I'm certain that it's providing a sans _cents method automagically yet it is nil and not a Money object as expected. What am I missing?
class Record < ActiveRecord::Base
belongs_to :wantlist
monetize :marketplace_price_cents, :allow_nil => true
end