Changeset 3021
- Timestamp:
- 11/14/05 07:41:17 (3 years ago)
- Files:
-
- trunk/activerecord/CHANGELOG (modified) (1 diff)
- trunk/activerecord/lib/active_record/base.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/CHANGELOG
r3019 r3021 1 1 *SVN* 2 3 * Correct documentation for Base.delete_all. #1568 [Newhydra] 2 4 3 5 * Oracle: test case for column default parsing. #2788 [Michael Schoen <schoenm@earthlink.net>] trunk/activerecord/lib/active_record/base.rb
r2985 r3021 514 514 # Deletes all the records that match the +condition+ without instantiating the objects first (and hence not 515 515 # calling the destroy method). Example: 516 # Post.de stroy_all "person_id = 5 AND (category = 'Something' OR category = 'Else')"516 # Post.delete_all "person_id = 5 AND (category = 'Something' OR category = 'Else')" 517 517 def delete_all(conditions = nil) 518 518 sql = "DELETE FROM #{table_name} "