I have an object that has a to_csv method and I want to pass it to respond_with to render csv from my controller. My code looks like this:
to_csv
respond_with
I think your model would have to have a to_csv method that returns the attributes as csv.
After that, if Rails doesn't call the to_csv method implicitly, I would try
respond_with TripReport.new.to_csv