aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/clean_up.rb
diff options
context:
space:
mode:
authorRobert2017-08-02 15:54:01 +0200
committerRobert2017-08-02 15:54:01 +0200
commit22b2893519938de8c49c07b57490aaf294926cee (patch)
tree0b7d8d53cc0feb941979e0a92b45f3d0509d1bdf /app/models/clean_up.rb
parent4dfee356b2f73f9a315129400831ccb0ce11b8e8 (diff)
downloadchouette-core-22b2893519938de8c49c07b57490aaf294926cee.tar.bz2
Refs: #4216@0.3h; Brute force change of `message_attributs` to `message_attributes` in code (not migration or schema!!!)
Diffstat (limited to 'app/models/clean_up.rb')
-rw-r--r--app/models/clean_up.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/models/clean_up.rb b/app/models/clean_up.rb
index b1135a155..7aab7f32e 100644
--- a/app/models/clean_up.rb
+++ b/app/models/clean_up.rb
@@ -153,13 +153,13 @@ class CleanUp < ActiveRecord::Base
update_attribute(:started_at, Time.now)
end
- def log_successful message_attributs
+ def log_successful message_attributes
update_attribute(:ended_at, Time.now)
- CleanUpResult.create(clean_up: self, message_key: :successfull, message_attributs: message_attributs)
+ CleanUpResult.create(clean_up: self, message_key: :successfull, message_attributes: message_attributes)
end
- def log_failed message_attributs
+ def log_failed message_attributes
update_attribute(:ended_at, Time.now)
- CleanUpResult.create(clean_up: self, message_key: :failed, message_attributs: message_attributs)
+ CleanUpResult.create(clean_up: self, message_key: :failed, message_attributes: message_attributes)
end
end