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
Authors

Oriol Gual, Josep M. Bach, Josep Jaume Rey

368 total downloads 60 for this version
Versions
  1. 1.0.4 August 12, 2010
  2. 1.0.3 August 8, 2010
  3. 1.0.2 July 13, 2010
  4. 1.0.1 June 27, 2010
  5. 1.0.0 June 22, 2010
Runtime Dependencies
  1. activemodel >= 3.0.0.rc