-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
I have a class with BigDecimal field
field :amount, :type => BigDecimal
Initializing it:
item = LineItem.new
item.amount = ''
item.save
puts item.amount.class in console prints 'String'
I am using Rails 3.2.3, Ruby 1.9.3 and not the latest mongoid: 2.4.10 so let me know if this was fixed