Class Index [+]

Quicksearch

ActiveModel::Observing

Private Instance Methods

notify_observers(method) click to toggle source

Fires notifications to model’s observers

def save

  notify_observers(:before_save)
  ...
  notify_observers(:after_save)

end

    # File lib/active_model/observing.rb, line 89
89:       def notify_observers(method)
90:         self.class.notify_observers(method, self)
91:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.