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

47,464 total downloads 6,200 for this version
Owners

29bbfc28b237cd25a63df6c47297f7e9

Gemfile
gem 'acts_as_decimal', '~> 1.1.1'
Versions
  1. 1.1.1 June 21, 2011 (8.5 KB)
  2. 1.1.0 March 14, 2011 (8.5 KB)
  3. 1.0.6 October 13, 2010 (8.5 KB)
  4. 1.0.5 September 14, 2010 (9 KB)
  5. 1.0.4 August 12, 2010 (9 KB)
Show all versions (9 total)