Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

update_attribute should raise an error if a readonly field is being updated

#5106

Reported by Neeraj Singh · July 13th, 2010 @ 11:28 AM

State: resolved
Milestone: 3.x
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Neeraj Singh
    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.

    July 13th, 2010 @ 03:37 PM

  2. José Valim
    José Valim

    Neeraj, the patch no longer applies. Could you please rebase it? Thanks!

    July 18th, 2010 @ 10:32 AM

  3. Neeraj Singh
    Neeraj Singh

    Attached is patch rebased against master.

    July 18th, 2010 @ 12:57 PM

  4. Repository