method

determine_instantiator

rails latest stable - Class: ActiveRecord::Base

Method deprecated or moved

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

determine_instantiator(match)
private

No documentation available.

# File activerecord/lib/active_record/base.rb, line 1683
        def determine_instantiator(match)
          match.captures.first == 'initialize' ? :new : :create
        end