This project is archived and is in readonly mode.

#5616 open
Adam Meehan

ActiveResource error parsing support for new JSON errors serialization format

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

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
https://rails.lighthouseapp.com/projects/8994/tickets/5615-support-...

Comments and changes to this ticket

  • Rohit Arondekar

    Rohit Arondekar September 12th, 2010 @ 04:50 AM

    • Assigned user set to “Mikel Lindsaar”
    • Importance changed from “” to “Low”
  • Jeff Kreeftmeijer

    Jeff Kreeftmeijer October 10th, 2010 @ 09:14 AM

    • Tag changed from activeresource, errors, json, parsing to activeresource, errors, json, parsing, patch
  • rails

    rails April 5th, 2011 @ 01:00 AM

    • 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.

  • rails

    rails April 5th, 2011 @ 01:00 AM

    • State changed from “open” to “stale”
  • Murray Steele

    Murray Steele April 12th, 2011 @ 03:10 PM

    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.

  • Murray Steele

    Murray Steele April 12th, 2011 @ 03:33 PM

    • State changed from “stale” to “open”

    [state:open]

    Oh! I cannot read. Re-opening.

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>

Attachments

Pages