Keep sorting #2691

This commit is contained in:
Martin Lensment 2015-07-07 13:29:18 +03:00
parent fafbba20d6
commit fb25c9f041

View file

@ -27,7 +27,7 @@ class AccountActivity < ActiveRecord::Base
CSV.generate(headers: true) do |csv|
csv << %w(description activity_type receipt_date sum)
all.find_each do |x|
all.each do |x| # rubocop:disable Rails/FindEach
csv << attributes.map { |attr| x.send(attr) }
end
end