method

new

rails latest stable - Class: ActiveRecord::FixtureSet::TableRow

Method deprecated or moved

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

new(fixture, table_rows:, label:, now:)
public

No documentation available.

# File activerecord/lib/active_record/fixture_set/table_row.rb, line 38
      def initialize(fixture, table_rows,, label,, now))
        @table_rows = table_rows
        @label = label
        @now = now
        @row = fixture.to_hash
        fill_row_model_attributes
      end