RubyGems.org

Rails 3 gem to treat an attribute as a decimal (getting and setting floating-point values) but storing it as an integer in the database (useful for prices and other precision-needed attributes like money).

installgem install acts_as_decimal -v 1.0.3
Authors

Oriol Gual, Josep M. Bach, Josep Jaume Rey

4,694 total downloads 579 for this version
Owners

29bbfc28b237cd25a63df6c47297f7e9

Bundler
gem "acts_as_decimal", "~> 1.0.3"
Versions
  1. 1.0.3 August 8, 2010
Show all versions (9 total)
Runtime Dependencies
  1. activemodel >= 3.0.0.rc