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.4
Authors

Oriol Gual, Josep M. Bach, Josep Jaume Rey

6,692 total downloads 824 for this version
Owners

29bbfc28b237cd25a63df6c47297f7e9

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