I did everything (and it's working!) regarding this episode:
How can I add a download-button in my views for that?
Thank you guys!
You can use something like...
<%= link_to "View CSV", resource_path(@resource, format: :csv) %>
Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.