Deletes the record in the database The row is simply removed with an SQL +DELETE+ statement on the record's primary key.
delete data by ql
delete data by ql
query clause
parameters
result
find_by and where function
find_by and where function
query
parameter values
Relation object
Saves the model.
Saves the model. If the model is new a record gets created in the database,otherwise the existing record gets updated.
active record
2016-01-03