acts_as_decimal for rails 3
We just launched a new ruby gem called acts_as_decimal to treat integer active_record attributes as floats! Check out the source code on Github too.
We just launched a new ruby gem called acts_as_decimal to treat integer active_record attributes as floats! Check out the source code on Github too.
Comments
acts_as_money would be a better name and it needs more than just so glorified to_s methods. How about providing methods to simplify the math so that I don’t have to pay attention to the underlying storage mechaniscm?
What’s the problem with SQL decimal and BigDecimal?
Post a comment