Skip to content

Commit

Permalink
cbr is a hash, so we need the merge
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Jul 24, 2019
1 parent 6500e4e commit fb87898
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 fb87898

Please sign in to comment.