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).
Oriol Gual, Josep M. Bach, Josep Jaume Rey
gem "acts_as_decimal", "~> 1.1.1"