GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
NoMethodError: undefined method `to_money' for nil:NilClass
this is not real problem, but it perhaps should be handle
This is handled by the :allow_nil option of monetize macro. This is not well documented :S. Will do in next days
Yes, i see
But why it rise error not return 'false' and error message if get nil
Yes, you are right. It should return false and the corresponding error message. And I think this is not a trivial fix.
@palexvs The NoMethodError has been fixed, the problem is that I should find a way to return false.
no activity, closing