Commit 4ad8d76041cf276d6d21fc56572c67e51e0ab55b
1 parent
125196e3
Exists in
master
and in
1 other branch
Fix fingerprinting migration as it is refactored
Commit https://github.com/pinglamb/errbit/commit/da3946bef7921e5a6df0d55fc2f556b641884ada refactored fingerprinting into a Fingerprint module, updated the migration for that
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 |