lib/active_admin/csv_builder.rb in activeadmin-1.4.3 vs lib/active_admin/csv_builder.rb in activeadmin-2.0.0.rc1
- old
+ new
@@ -48,10 +48,10 @@
csv_options = options.except :encoding_options, :humanize_name
csv << bom if bom
if column_names
- csv << CSV.generate_line(columns.map{ |c| encode c.name, options }, csv_options)
+ csv << CSV.generate_line(columns.map { |c| encode c.name, options }, csv_options)
end
ActiveRecord::Base.uncached do
(1..paginated_collection.total_pages).each do |page|
paginated_collection(page).each do |resource|