0.49
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.
2019
2020
2021
2022
2023
2024
0.29
This rubygem does not have a description or summary.
2019
2020
2021
2022
2023
2024
0.27
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...
2019
2020
2021
2022
2023
2024
0.25
Provides a framework for saving incoming blank values as nil in the database in instances where you'd rather use DB NULL than simply a blank string.
0.01
Clean up your incoming ActiveRecord model attributes
2019
2020
2021
2022
2023
2024
0.0
Builds macros to automatically manipulate your models' attributes.
2019
2020
2021
2022
2023
2024
0.0
Ruby (and Rails) attribute cleaning support, provides some nice and easy to enhance default normalization strategies.
2019
2020
2021
2022
2023
2024
0.0
Work in progress, this will be a generic attribute sanitizer which can be used for sanitizing models and other objects holding data
2019
2020
2021
2022
2023
2024
0.0
Normatron is a Ruby On Rails plugin that perform attribute normalizations for ActiveRecord objects.
With it you can normalize attributes to the desired format before saving them in the database.
This gem inhibits the work of having to override attributes or create a specific method to...
2019
2020
2021
2022
2023
2024
0.0
A wrapper to make automatic sanitization of incoming data easier. Uses the sanitize gem and works in both plain Ruby and Rails projects.
2019
2020
2021
2022
2023
2024
0.0
a small ActiveRecord plugin that removes ASCII control chars from attributes
2019
2020
2021
2022
2023
2024