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:
=

instalar:
=

Versões:

  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)
Mostrar todas as versões (9)

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

Donos:

Autores:

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

SHA 256 checksum:

=

Total de downloads 115.259

Desta versão 8.491

Versão lançada:

Licenças:

N/A

Versão Requerida do Ruby: Nenhum

Links: