def save_records
      unless @records.empty?
        @model_class.connection.populate(@model_class.quoted_table_name, columns_sql, rows_sql_arr, "#{@model_class.name} Populate")
        @last_id_in_database = @records.last.id
        @records.clear
      end
    end
def save_records
      unless @records.empty?
        @model_class.connection.populate(@model_class.quoted_table_name, columns_sql, rows_sql_arr, "#{@model_class.name} Populate")
        @last_id_in_database = @records.last.id
        @records.clear
      end
    end
Saves the records to the database by calling populate on the current database adapter.