RailsCasts Pro episodes are now free!

Learn more or hide this

Anthony DeFreitas's Profile

GitHub User: acdcwebs

Site: http://www.fuhsale.com/

Comments by Anthony DeFreitas

Avatar

I had the same issue but your change gave me the error: can't convert Array into Hash

format.csv { send_data Product.to_csv } worked for me.