create(attributes = nil, &block)
Instance Public 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 objects that are to
be created.
Examples
# Create a single new object
User.create(first_name: 'Jamie')
# Create an Array