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

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 (3):

actionpack ~> 3.0.0
activemodel ~> 3.0.0
activesupport ~> 3.0.0

Development Dependencies (6):

activerecord ~> 3.0.0
bluecloth >= 0
rspec ~> 2.5.0
simplecov >= 0
sqlite3 >= 0
yard >= 0

Owners:

Authors:

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

SHA 256 checksum:

a8d483de53751ae22a675298cb989968499fa30ad97773a8d1bc226968346f36

Total downloads 103,075

For this version 8,385

Licenses:

N/A

Required Ruby Version: None

Links: