Flowdock
method

instantiate_fixtures__with_new_arity

Importance_0
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: Fixtures

Method deprecated or moved

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

instantiate_fixtures__with_new_arity(object, fixture_set, load_instances = true) public

No documentation

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

Hide source
# File activerecord/lib/active_record/fixtures.rb, line 426
    def self.instantiate_fixtures__with_new_arity(object, fixture_set, load_instances = true) # :nodoc:
      if load_instances
        fixture_set.each do |fixture_name, fixture|
          begin
            object.instance_variable_set "@#{fixture_name}", fixture.find
          rescue FixtureClassNotFound
            nil
          end
        end
      end
    end
Register or log in to add new notes.