Frederick Cheung escreveu:great!On 20 Nov 2008, at 13:29, Tom Lobato wrote:How will this ":include" change the json response? Since there is alist being selected, I need to parse it in the client side. I`m not using simple to_json, but to_ext_json (provided by the plugin: http://inside.glnetworks.de/2008/01/18/announcing-ext-scaffold-generator-plugin-for-rails/) , but I think the "include" won`t change.http://api.rubyonrails.com/classes/ActiveRecord/Serialization.html#M001417 Sorry for didn`t look at this doc before, but in really it was not clear even the fact that :include is a to_json option. The things was confuse for me. Now it`s clear. Thank you, Cheung! Tom Lobato --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~--- |
- [Rails] Beyond the simple select Tom Lobato
- [Rails] Re: Beyond the simple select Frederick Cheung
- [Rails] Re: Beyond the simple select Tom Lobato
- [Rails] Re: Beyond the simple select Frederick Cheung
- [Rails] Re: Beyond the simple select Tom Lobato