I'm using the money-rails gem for one of my Models to store the cost of manufacture.
In my model I have -
monetize :cost_of_manufacturing_cents
And in the _form.html view I have for simple_form :
f.input :cost_of_manufacturing
However, when I run the item/new route, I get the following error
undefined method `cost_of_manufacturing' for #<Item:0x007fe34a5feaf8>
How can I resolve this issue?