Flowdock
method

load_fixtures

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

Method deprecated or moved

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

These similar methods exist in v4.0.2:

load_fixtures() private

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 962
        def load_fixtures
          @loaded_fixtures = {}
          fixtures = Fixtures.create_fixtures(fixture_path, fixture_table_names, fixture_class_names)
          unless fixtures.nil?
            if fixtures.instance_of?(Fixtures)
              @loaded_fixtures[fixtures.name] = fixtures
            else
              fixtures.each { |f| @loaded_fixtures[f.name] = f }
            end
          end
        end
Register or log in to add new notes.