RubyGems Navigation menu

acts_as_decimal 1.0.5

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:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.1.1 - June 22, 2011 (8.5 KB)
  2. 1.1.0 - March 15, 2011 (8.5 KB)
  3. 1.0.6 - October 14, 2010 (8.5 KB)
  4. 1.0.5 - September 15, 2010 (9 KB)
  5. 1.0.4 - August 13, 2010 (9 KB)
Show all versions (9 total)

Runtime Dependencies (1):

activemodel >= 3.0.0.rc

Development Dependencies (2):

activerecord >= 3.0.0.rc
rspec >= 2.0.0.beta.19

Owners:

Authors:

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

SHA 256 checksum:

124f3645d0d28bc8a2d2c2893d17d62cdc987b9e384dc718f23c876d20cc84f0

Total downloads 102,124

For this version 5,293

Licenses:

N/A

Required Ruby Version: None

Links: