Flowdock
method

destroy_all

Importance_1
destroy_all(conditions = nil) public

Destroys the objects for all the records that match the condition by instantiating each object and calling the destroy method. Example:

  Person.destroy_all "last_login < '2004-04-04'"
Show source
Register or log in to add new notes.