On Sep 26, 9:27 am, Ar Chron <[EMAIL PROTECTED]> wrote:
> If you want only @directories, then you should create an rxml template
> to be used under software, where you marshall the xml data is any old
> format you want.
>
> for directory in @directories
> xml.directory do
> xml.directory_n
If you want only @directories, then you should create an rxml template
to be used under software, where you marshall the xml data is any old
format you want.
for directory in @directories
xml.directory do
xml.directory_name(directory.name)
etc
etc
end
end
--
Posted via http://w
What magic were you expecting to have happen? (Rails did exactly what
you told it to).
Don't you want something like
format.xml { render :xml => @software.to_xml( :include => :directories )
}
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You
3 matches
Mail list logo