RubyGems Navigation menu

strip_attributes 2.0.1

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

installation:
=

Versions:

  1. 2.0.1 August 27, 2025 (12,5 ko)
  2. 2.0.0 February 24, 2025 (12 ko)
  3. 1.14.1 December 10, 2024 (12 ko)
  4. 1.14.0 November 10, 2024 (12 ko)
  5. 1.13.0 May 13, 2022 (12 ko)
Voir toutes les versions (33)

Dépendances de Runtime (1):

activemodel >= 3.0, < 9.0

Dépendances de Development (5):

active_attr ~> 0.15
minitest ~> 5.0
minitest-reporters >= 0.14.24
rake >= 0

Propriétaires:

Pushed by:

Auteurs:

  • Ryan McGeary

Total de contrôle SHA 256:

=

Total de téléchargements 15 977 171

Pour cette version 86 651

Version publiée:

License:

MIT

Version de Ruby requise: >= 1.9.3

Liens: