> One thing to consider, too, is that this only affects JSON posted on a > web page, not sent between requests. Perhaps there's something like > the html_encode helper for JSON: > > <%= j @foo.to_json %> >
I like that- it's worth mentioning that the non-compliance issue I'm having is with non-browsers choking on the to_json output, not browsers. So distinguishing between the two seems like a good compromise, if we need one. - D -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
