module ActiveRecord::Persistence::ClassMethods
def insert(attributes, returning: nil, unique_by: nil, record_timestamps: nil)
go through Active Record's type casting and serialization.
Active Record callbacks or validations. Though passed values
statement. It does not instantiate any models nor does it trigger
Inserts a single record into the database in a single SQL INSERT
def insert(attributes, returning: nil, unique_by: nil, record_timestamps: nil) insert_all([ attributes ], returning: returning, unique_by: unique_by, record_timestamps: record_timestamps) end