auto_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). (by holli)
attribute_normalizer
Adds the ability to normalize attributes cleanly with code blocks and predefined normalizers (by mdeering)
auto_strip_attributes | attribute_normalizer | |
---|---|---|
4 | 2 | |
355 | 476 | |
- | - | |
1.6 | 0.0 | |
about 1 year ago | 5 months ago | |
Ruby | Ruby | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
auto_strip_attributes
Posts with mentions or reviews of auto_strip_attributes.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-06.
-
auto_strip_attributes VS attribute_normalizer - a user suggested alternative
2 projects | 6 Jun 2023
-
nilify_blanks alternatives - auto_strip_attributes and attribute_normalizer
3 projects | 6 Jun 2023
I found **auto_strip_attributes** recommended and discussed here https://discuss.rubyonrails.org/t/database-fields-are-polluted-with-both-nil-and-empty-values-when-submitting-forms/74877/6
- Removing whitespace and capitalizing user input should be in frontend or backend?
attribute_normalizer
Posts with mentions or reviews of attribute_normalizer.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-06.
-
auto_strip_attributes VS attribute_normalizer - a user suggested alternative
2 projects | 6 Jun 2023
As suggested on this post "Make Values Nil If Blank & Data Normalization In Rails" https://westonganger.com/posts/make-values-nil-if-blank-data-normalization-in-rails
-
nilify_blanks alternatives - auto_strip_attributes and attribute_normalizer
3 projects | 6 Jun 2023
What are some alternatives?
When comparing auto_strip_attributes and attribute_normalizer you can also consider the following projects:
PaperTrail - Track changes to your rails models
AASM - AASM - State machines for Ruby classes (plain Ruby, ActiveRecord, Mongoid, NoBrainer, Dynamoid)
ActiveDelegate - Delegate ActiveRecord model attributes and associations.