Rails 3 gem to treat an attribute as a decimal (storing and retrieving floating-point values) but storing it as an integer in the database (useful for prices and other money attributes).
Oriol Gual, Josep MÂȘ Bach, Josep Jaume Rey
gem "acts_as_decimal", "~> 1.0.1"