Introducing attributes_sanitizer Rails Gem
Have you ever needed to sanitize data before sending it to the database? Do you need to ensure that a string should be always saved in lowercase without extra spaces? The attributes_sanitizer gem can help you with that. Extracted from a real project, it makes it possible to easily set up attributes sanitization for Rails 5+ projects.