On Oct 11, 2012, at 1:16 AM, bricker wrote:

> When a form is submitted and handled by Rails, it doesn't strip out empty 
> parameters, instead just inserting those values as-is (blank strings). I'm 
> not claiming this to be a problem or a bug, I just want to know if there is a 
> built-in way to normalize these values to ensure clean data.

Check out the "attribute_normalizer" gem.


-- 
Scott Ribe
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice




-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to