RubyGems Navigation menu

strip_attributes 1.7.0

StripAttributes automatically strips all ActiveRecord model attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.

Gemfile:
=

instalar:
=

Versões:

  1. 1.14.0 November 10, 2024 (12 KB)
  2. 1.13.0 May 13, 2022 (12 KB)
  3. 1.12.0 December 20, 2021 (12 KB)
  4. 1.11.0 April 02, 2020 (12 KB)
  5. 1.10.1 April 02, 2020 (12 KB)
  6. 1.7.0 February 11, 2015 (10,5 KB)
Mostrar todas as versões (30)

Runtime Dependencies (1):

activemodel < 5.0, >= 3.0

Development Dependencies (5):

active_attr ~> 0.7
minitest < 6.0, >= 4.7
minitest-reporters >= 0.14.24
rake ~> 10.1.1

Donos:

Autores:

  • Ryan McGeary

SHA 256 checksum:

=

Total de downloads 12.997.250

Desta versão 414.514

Versão lançada:

Licença:

MIT

Versão Requerida do Ruby: >= 0

Links: