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:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  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.0 KB)
  5. 1.0.4 - August 13, 2010 (9.0 KB)
显示所有版本 (共 9 个)

Runtime 依赖 (1):

activemodel >= 3.0.0.rc

Development 依赖 (2):

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

业主:

作者:

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

SHA 256 校验和:

348782d5d9c55ad9824d747fcfed16c7bc3ff7f9f92844e7afee0279a5450455

下载总量 100,825

这个版本 8,815

许可:

需要的 Ruby 版本:

链接: