method

instantiate_observers

rails latest stable - Class: ActionController::Dependencies::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.0.0) is shown here.

instantiate_observers(observers)
private

No documentation available.

# File actionpack/lib/action_controller/dependencies.rb, line 65
        def instantiate_observers(observers)
          observers.flatten.each { |observer| Object.const_get(Inflector.classify(observer.to_s)).instance }
        end