Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

brunocalado's Profile

GitHub User: brunocalado

Comments by

Avatar

Use
csv << product.attributes.values

instead of:
csv << product.attributes.values_at(*column_names)