Commit 19066a58f20427150c630964069f7fd99ef36073
Exists in
master
and in
1 other branch
Merge pull request #804 from pinglamb/master
Fix fingerprinting migration as it is refactored
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
db/migrate/20121005142110_regenerate_err_fingerprints.rb
@@ -4,7 +4,7 @@ class RegenerateErrFingerprints < Mongoid::Migration | @@ -4,7 +4,7 @@ class RegenerateErrFingerprints < Mongoid::Migration | ||
4 | if err.notices.any? && err.problem | 4 | if err.notices.any? && err.problem |
5 | err.update_attribute( | 5 | err.update_attribute( |
6 | :fingerprint, | 6 | :fingerprint, |
7 | - Fingerprint.generate(err.notices.first, err.app.api_key) | 7 | + Fingerprint::Sha1.generate(err.notices.first, err.app.api_key) |
8 | ) | 8 | ) |
9 | end | 9 | end |
10 | end | 10 | end |