Sign in through GitHub

Please read for an updated status on RailsCasts:

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.