This is for Jeremy's(bitsweat) attention.

As Gabe pointed out in the comments, "This patch introduced a regression my
app's tests because our activeresource mocks did not set a content-type
header. This was easy enough to fix once I debugged it, but it was pretty
nasty to track down since the result is simply that the error messages are
ignored and save returns true and the object appears valid with no trace of
what happened without debugging deep into ActiveResource. Even though in
production this case ought to never happen, in tests it's the default with
no indication that you would need to set a Content-Type header."

https://rails.lighthouseapp.com/projects/8994/tickets/1956-json-validations-errors-for-activeresource#ticket-1956-29



Thanks
Jatinder
http://blog.jatinder.me
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.

Reply via email to