lib/thermos/notifier.rb in thermos-0.2.1 vs lib/thermos/notifier.rb in thermos-0.3.0
- old
+ new
@@ -3,10 +3,10 @@
module Thermos
module Notifier
extend ActiveSupport::Concern
included do
- after_save :notify_thermos
+ after_commit :notify_thermos
end
private
def notify_thermos