I am quite new to Rails.
I have a model, store with
in my controller I have
@store = Store.find(199, :include => :owner)
render :xml @store.to_xml
The result is that the xml only contains the store data, not the owners
data, even though it has retrieved the owners data along with the store.
How can I get the owner data to be included in the XML.
Is it possible to get just specific fields into the XML, such as