method

notify_observers

Importance_0
v3.0.9 - Show latest stable - 0 notes - Class: ActiveModel::Observing::ClassMethods
notify_observers(*arg) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/observing.rb, line 50
      def notify_observers(*arg)
        if defined? @observer_instances
          for observer in @observer_instances
            observer.update(*arg)
          end
        end
      end
Register or log in to add new notes.