Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
ebrett committed Jul 19, 2023
1 parent 5c746be commit 7e8a2a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def self.to_csv
CSV.generate(headers: true) do |csv|
csv << (DASHBOARD_ATTRS + csv_headers)
unformatted = dashboard.find_each(batch_size: 1000).map(&:dashboard_attributes)
formatted = unformatted.each_slice(1000) {|unformatted_slice| CoercionDecorator.new(unformatted_slice).call }
formatted = unformatted.each_slice(1000) { |unformatted_slice| CoercionDecorator.new(unformatted_slice).call }
formatted.each { |row| csv << row.values }
end
end
Expand Down

0 comments on commit 7e8a2a7

Please sign in to comment.