Permalink
Browse files

Query guide: visists => visits

  • Loading branch information...
1 parent 06e2f7c commit e4314e7d3fd93c5ed1eda1cf52ed38cdc2543d25 @radar radar committed Dec 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/active_record_querying.textile
@@ -602,7 +602,7 @@ client.visits += 1
client.save
</ruby>
-As +client+ is explicitly set to be a readonly object, the above code will raise an +ActiveRecord::ReadOnlyRecord+ exception when calling +client.save+ with an updated value of _visists_.
+As +client+ is explicitly set to be a readonly object, the above code will raise an +ActiveRecord::ReadOnlyRecord+ exception when calling +client.save+ with an updated value of _visits_.
h3. Locking Records for Update

0 comments on commit e4314e7

Please sign in to comment.