lib/wisper/mongoid/publisher.rb in fhwang-wisper-mongoid-0.2.4 vs lib/wisper/mongoid/publisher.rb in fhwang-wisper-mongoid-0.3.0
- old
+ new
@@ -8,12 +8,12 @@
extend ActiveSupport::Concern
included do
include Wisper::Publisher
after_validation :after_validation_broadcast
- after_create :after_create_broadcast, on: :create
- after_update :after_update_broadcast, on: :update
- after_destroy :after_destroy_broadcast, on: :destroy
+ after_create :after_create_broadcast
+ after_update :after_update_broadcast
+ after_destroy :after_destroy_broadcast
end
private
def after_validation_broadcast