On Sun, Mar 31, 2013 at 5:17 AM, Dmitrij B. <[email protected]> wrote:

>
> I want check, how work in xml format. How me call in command line my
> format xml? (format.xml { render :xml => @product.to_xml( :include =>
> :order ) })
>

I guess you want to see what's the output in rails console
Just open it and then do

Product.find(SOME_ID).to_xml

then you'll get the info

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to