This project is archived and is in readonly mode.
update_attribute should raise an error if a readonly field is being updated
-
Neeraj Singh
- 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
Neeraj, the patch no longer applies. Could you please rebase it? Thanks!
-
Neeraj Singh
Attached is patch rebased against master.
-
Repository
- State changed from open to resolved
(from [992711a86bc4ddd4460f9067e49eea36b37ca94f]) update_attribute should not update readonly attributes
[#5106 update_attribute should raise an error if a readonly field is being updated state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/992711a86bc4ddd4460f9067e49eea...
