RailsCasts Pro episodes are now free!

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)