On Jan 13, 2:06 pm, John Merlino <[email protected]> wrote: > The above ended up working. However, I thought that the inner join I > specified would make the attributes of student_state available in the > xml output of the students controller (when going to the > urlhttp://localhost:3000/students.xml). But it wasn't. Is this a limitation > of rail's xml capabilities?
The :joins / :includes specified when you fetch rows have no bearing on xml (or json etc) output, however to_xml does accept options that allow you to do that sort of stuff. Fred
-- 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 [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-talk?hl=en.

