RubyGems Navigation menu

acts_as_decimal 1.0.4

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).

Gemfile
          gem 'acts_as_decimal', '~> 1.0.4'
  
  
  
  
  
  
  

install
          gem install acts_as_decimal -v 1.0.4
  
  
  
  
  
  
  

Authors:

  • Oriol Gual, Josep M. Bach, Josep Jaume Rey

Owners:

Total downloads 47,806

For this version 5,715

Show all versions (9 total)

Required Ruby Version: None

Links:

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)

Runtime Dependencies: