Permalink
Browse files

README

  • Loading branch information...
1 parent b0a72ff commit 728dae9a8404efee0ec688104bec76ca044f278c @winton committed Jan 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -81,7 +81,7 @@ Delete records without archiving
Use any of the destroy methods, but add a bang (!):
<pre>
-Article::Archive.find(:first).destroy!
+Article::Archive.first.destroy!
Article.delete_all!([ "id in (?)", [ 1, 2, 3 ] ])
</pre>

0 comments on commit 728dae9

Please sign in to comment.