Flowdock
method

delete_all

Importance_1
delete_all(conditions = nil) public

Deletes all the records that match the conditions without instantiating the objects first (and hence not calling the destroy method). Example:

  Post.delete_all "person_id = 5 AND (category = 'Something' OR category = 'Else')"
Show source
Register or log in to add new notes.