BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

auto_strip_attributes

v2.6.0RubyGems· Ruby

AutoStripAttributes helps to remove unnecessary whitespaces from ActiveRecord or ActiveModel attributes. It's good for removing accidental spaces from user inputs. It works by adding a before_validation hook to the record. It has option to set empty strings to nil or to remove extra spaces inside the string.

The verdict
Abandoned. Last published 6 years ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityRising
SecurityClean
LicensePermissive
DepsZero deps
Maintenance
Last published 6 years ago.
Popularity
23K downloads / week
Security
No known advisories for this version (OSV).
License
MIT
Dependencies
No runtime dependencies
Recent releases
  • 2.6.06 years ago
  • 2.5.07 years ago
  • 2.4.08 years ago
  • 2.3.08 years ago
  • 2.2.08 years ago
  • 2.1.09 years ago
  • 2.0.611 years ago
  • 2.0.511 years ago
auto_strip_attributes — AutoStripAttributes helps to remove unnecessary whitespaces from ActiveRecord or ActiveModel attributes. It's good for removing accidental spaces from user inputs. It works by adding a before_validation hook to the record. It has option to set empty strings to nil or to remove extra spaces inside the string. (Ruby / RubyGems) · Modules