chewmanfoo wrote:
> I have an index page showing a table of network hosts with IP
> addresses, roles, hostname etc.  Is it trivial to render that page to
> the browser as a csv file instead of html and link to that rendering
> on the index page?

Yes.

>  How is that done?  

The same way as you would for HTML -- specify a template to render. 
Check out respond_to for more.

> Is there a nice rails csv
> rendering for dummies page?

You don't need one.

> 
> Thanks in advance,

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
mar...@marnen.org
-- 
Posted via http://www.ruby-forum.com/.

-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to