Skip to content

Commit

Permalink
Remove unused hash
Browse files Browse the repository at this point in the history
[fixes #636]
  • Loading branch information
arthurnn committed Mar 28, 2014
1 parent 1ddf715 commit ca82429
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions db/migrate/20121005142110_regenerate_err_fingerprints.rb
@@ -1,15 +1,7 @@
class RegenerateErrFingerprints < Mongoid::Migration
def self.up
Err.all.each do |err|
if err.notices.any?
fingerprint_source = {
:backtrace => err.notices.first.backtrace_id,
:error_class => err.error_class,
:component => err.component,
:action => err.action,
:environment => err.environment,
:api_key => err.app.api_key
}
if err.notices.any? && err.problem
err.update_attribute(
:fingerprint,
Fingerprint.generate(err.notices.first, err.app.api_key)
Expand Down

0 comments on commit ca82429

Please sign in to comment.