RubyGems Navigation menu

acts_as_decimal 1.1.0

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

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)

Authors:

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

Owners:

29bbfc28b237cd25a63df6c47297f7e9

Total downloads 47,929

For this version 5,284

Show all versions (9 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'acts_as_decimal', '~> 1.1.0' = Copy to clipboard Copied!

install:
gem install acts_as_decimal -v 1.1.0 = Copy to clipboard Copied!

Links: