Commit 4ad8d76041cf276d6d21fc56572c67e51e0ab55b

Authored by pinglamb
1 parent 125196e3
Exists in master and in 1 other branch production

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
db/migrate/20121005142110_regenerate_err_fingerprints.rb
... ... @@ -4,7 +4,7 @@ class RegenerateErrFingerprints < Mongoid::Migration
4 4 if err.notices.any? && err.problem
5 5 err.update_attribute(
6 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 9 end
10 10 end
... ...