A platform for community discussion. Free, open, simple.
Fix the 'PostMover' spec.
Vinoth Kannanb0e3062fdf2d
diff --git a/app/models/notification.rb b/app/models/notification.rbindex fc0e60805b0..9b907bc3470 100644--- a/app/models/notification.rb+++ b/app/models/notification.rb@@ -232,6 +232,11 @@ class Notification < ActiveRecord::BasePost.where(topic: topic_id, post_number: post_number).pluck_first(:id)end+ def reload(options = nil)+ super+ @data_hash = nil+ end+protecteddef refresh_notification_count