RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: CSV x
Importing CSV and Excel
Episode #396Dec 08, 2012176 comments

Importing CSV and Excel

Allow users to import records into the database by uploading a CSV or Excel document. Here I show how to use Roo to parse these files and present a solution for validations. (10 minutes)
Exporting CSV and Excel
Episode #362Jul 02, 2012160 comments

Exporting CSV and Excel

As you will see it is easy to add a CSV export option to Rails. Here I also show how to export for Excel in a variety of formats. (6 minutes)
Template Handlers
Episode #379Sep 04, 201267 comments

Template Handlers

Here I will demonstrate creating two template handlers. One for Ruby which is great for JSON or CSV formats. Another for interpreting Markdown which is useful for informational content. (12 minutes)