should_protect_attributes on booleans
Reported by Tammer Saleh | November 29th, 2007 @ 10:07 AM | in 3.0.5
should_protect_attributes doesn't seem to be working for boolean attributes (which is a common use case).
Comments and changes to this ticket
-

Luke Francl January 24th, 2008 @ 11:07 AM
I also found that should_protect_attributes doesn't really work for updated_at, because it tests to see if the attribute changes, and of course it does when Rails saves the record.
This may be more of an FYI than a bug.
-
Tammer Saleh February 28th, 2008 @ 05:04 PM
- → State changed from new to resolved
I've fixed this in trunk. Thanks for pointing this out.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
