gitmyhub

auto_strip_attributes

★ 0 updated 6y ago ⑂ fork

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).

No plain-English explanation yet — one is being written right now. Check back in a minute.