Skip to content

Commit

Permalink
Merge pull request #19047 from d-m-u/fixing_chargeback_rate_detail_seed
Browse files Browse the repository at this point in the history
cbr is a hash, so we need the merge
  • Loading branch information
carbonin authored Jul 24, 2019
2 parents 6500e4e + fb87898 commit a37cc5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/chargeback_rate_detail_measure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def self.seed
fixture_mtime = File.mtime(fixture_file_measure).utc
if fixture_mtime > rec.created_at
_log.info("Updating [#{cbr[:name]}] with units=[#{cbr[:units]}]")
rec.update!(cbr, :created_at => fixture_mtime)
rec.update!(cbr.merge(:created_at => fixture_mtime))
end
end
end
Expand Down

0 comments on commit a37cc5d

Please sign in to comment.