Flowdock
method

new

Importance_0
v5.0.0.1 - Show latest stable - 0 notes - Class: FixtureSet
new(connection, name, class_name, path, config = ActiveRecord::Base) 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 591
    def initialize(connection, name, class_name, path, config = ActiveRecord::Base)
      @name     = name
      @path     = path
      @config   = config

      self.model_class = class_name

      @fixtures = read_fixture_files(path)

      @connection  = connection

      @table_name = ( model_class.respond_to?(:table_name) ?
                      model_class.table_name :
                      self.class.default_fixture_table_name(name, config) )
    end
Register or log in to add new notes.