Permalink
Browse files

destroyal -> destruction, thanks to FelixLeiter

  • Loading branch information...
1 parent 0dc17a2 commit 1135e29bab052c7f0987d168b989d6621fc85311 @fxn fxn committed May 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/active_record_querying.textile
@@ -538,7 +538,7 @@ This will return single order objects for each day, but only for the last month.
h4. Readonly Objects
-To explicitly disallow modification/destroyal of the matching records returned by +Model.find+, you could specify the +:readonly+ option as +true+ to the find call.
+To explicitly disallow modification/destruction of the matching records returned by +Model.find+, you could specify the +:readonly+ option as +true+ to the find call.
Any attempt to alter or destroy the readonly records will not succeed, raising an +ActiveRecord::ReadOnlyRecord+ exception. To set this option, specify it like this:

0 comments on commit 1135e29

Please sign in to comment.