[Rails] Re: Beyond the simple select

2008-11-20 Thread Tom Lobato
Frederick Cheung escreveu: On 20 Nov 2008, at 13:29, Tom Lobato wrote: How will this ":include" change the json response? Since there is a list 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://in

[Rails] Re: Beyond the simple select

2008-11-20 Thread Frederick Cheung
On 20 Nov 2008, at 13:29, Tom Lobato wrote: > > > How will this ":include" change the json response? Since there is a > > list 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/

[Rails] Re: Beyond the simple select

2008-11-20 Thread Tom Lobato
How will this ":include" change the json response? Since there is a list 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

[Rails] Re: Beyond the simple select

2008-11-20 Thread Frederick Cheung
On Nov 20, 8:02 am, Tom Lobato <[EMAIL PROTECTED]> wrote: > I have 3 tables: > pupils:           id, name, born_date, sex > courses:        id, course_name, description > pupilXcourse: pupil_id, course_id > > Today I run a Pupil.find(:all) and send a json response to the > browser, who shows a t