This project is archived and is in readonly mode.
update_attribute should raise an error if a readonly field is being updated
Reported by Neeraj Singh | July 13th, 2010 @ 11:28 AM | in 3.x
Comments and changes to this ticket
-
Neeraj Singh July 13th, 2010 @ 03:37 PM
- State changed from new to open
- Tag changed from rails 3, activerecord to rails 3, activerecord, patch
- Assigned user changed from Neeraj Singh to José Valim
Attached is fix with test.
-
José Valim July 18th, 2010 @ 10:32 AM
Neeraj, the patch no longer applies. Could you please rebase it? Thanks!
-
Repository July 21st, 2010 @ 02:08 PM
- State changed from open to resolved
(from [992711a86bc4ddd4460f9067e49eea36b37ca94f]) update_attribute should not update readonly attributes
[#5106 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/992711a86bc4ddd4460f9067e49eea...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 5106 update_attribute should raise an error if a readonly field is being updated [#5106 state:resolved]