CSV template handler for Rails 3