Rails: Easiest way to provide file downloads?

Posted by Schroedinger on Stack Overflow See other posts from Stack Overflow or by Schroedinger
Published on 2010-05-09T11:22:49Z Indexed on 2010/05/09 11:28 UTC
Read the original article Hit count: 265

Filed under:
|
|
|

G'day guys, currently have almost finished writing a rails application that allows a CSV download of the database. This is generated when the index is first viewed.

Is there an easy way to insert a link to a helper that returns a CSV document? That is to say is it easy to insert links to helpers? This would make a lot of problems I've been having much easier

© Stack Overflow or respective owner

Related posts about rails

Related posts about ruby-on-rails