pluginGeek
ActiveRecord: Normalize attributesRuby853EditSanitize user input before saving it to the database. Strip whitespace, html tags and more.
:hocho: An ActiveModel extension that automatically strips all attributes of leading and trailing whitespace before validation. If the attribute is blank, it strips the value to nil.https://github.com/rmm5t/strip_attributes
AutoStripAttributes gem for Rails helps to remove unnecessary whitespaces from ActiveRecord or ActiveModel attributes. It's good for removing accidental spaces from user inputs (e.g. when user copy/pastes some value to a form and the value has extra spaces at the end).https://github.com/holli/auto_strip_attributes
Adds the ability to normalize attributes cleanly with code blocks and predefined normalizershttps://github.com/mdeering/attribute_normalizer
Sometimes you want to normalize data before saving it to the database like down casing e-mails, removing spaces and so on. This Rails plugin allows you to do so in a simple way.https://github.com/fnando/normalize_attributes
Related categories
Around the webAdd
No links yet, just add one :-D