ActiveRecord::Persistence::ClassMethods
module ActiveRecord::Persistence::ClassMethods
Public Instance Methods
Creates an object (or multiple objects) and saves it to the database, if validations pass. The resulting object is returned whether the object was saved successfully to the database or not.
The attributes
parameter can be either a Hash or an Array of Hashes. These Hashes describe the attributes on the