class ActiveRecord::FixtureSet::TableRow

def fill_timestamps

Experimental RBS support (using type sampling data from the type_fusion project).

def fill_timestamps: () -> untyped

This signature was generated using 1 sample from 1 application.

def fill_timestamps
  # fill in timestamp columns if they aren't specified and the model is set to record_timestamps
  if model_class.record_timestamps
    model_metadata.timestamp_column_names.each do |c_name|
      @row[c_name] = @now unless @row.key?(c_name)
    end
  end
end