rmm5t / strip_attributes

: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
MIT License
558 stars 51 forks source link

Refactor and cleanup option handling #69

Closed rmm5t closed 3 months ago

rmm5t commented 3 months ago

Quick refactor and code cleanup.