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.

ActiveResource error parsing support for new JSON errors serialization format

#5616

ActiveResource has not been updated to support the current ActiveModel errors serialization format. This patch supports both the new and old formats.

It also supports what I hope will be the final format from this patch
#5615 Support multiple errors per attribute in ActiveModel Errors JSON serialization

Reported by Adam Meehan · September 11th, 2010 @ 11:37 AM

State: open
Milestone: none
Assigned to: Mikel Lindsaar Mikel Lindsaar
Importance: Low

Activity

  1. Rohit Arondekar
    Rohit Arondekar
    • Assigned user set to Mikel Lindsaar
    • Importance changed from to Low

    September 12th, 2010 @ 04:50 AM

  2. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Tag changed from activeresource, errors, json, parsing to activeresource, errors, json, parsing, patch

    October 10th, 2010 @ 09:14 AM

  3. rails
    rails
    • State changed from new to open

    This issue has been automatically marked as stale because it has not been commented on for at least three months.

    The resources of the Rails core team are limited, and so we are asking for your help. If you can still reproduce this error on the 3-0-stable branch or on master, please reply with all of the information you have about it and add "[state:open]" to your comment. This will reopen the ticket for review. Likewise, if you feel that this is a very important feature for Rails to include, please reply with your explanation so we can consider it.

    Thank you for all your contributions, and we hope you will understand this step to focus our efforts where they are most helpful.

    April 5th, 2011 @ 01:00 AM

  4. rails
    rails
    • State changed from open to stale

    April 5th, 2011 @ 01:00 AM

  5. Murray Steele
    Murray Steele

    state:open

    Yup. This is still a bug on rails 3.0.6.

    I've tried this patch and it applies on both master and 3-0-stable and, happily, fixes the problem in an app.

    April 12th, 2011 @ 03:10 PM

  6. Murray Steele
    Murray Steele
    • State changed from stale to open

    [state:open]

    Oh! I cannot read. Re-opening.

    April 12th, 2011 @ 03:33 PM