Flowdock
method

new

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

      self.model_class = class_name

      @fixtures = read_fixture_files(path)

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