method

new

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 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 709 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.