RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: brunocalado
Use csv << product.attributes.values
instead of: csv << product.attributes.values_at(*column_names)
Use
csv << product.attributes.values
instead of:
csv << product.attributes.values_at(*column_names)