diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2010-12-24 07:22:08 +1000 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2010-12-24 07:23:12 +1000 |
commit | e4314e7d3fd93c5ed1eda1cf52ed38cdc2543d25 (patch) | |
tree | 07a2e598914a381fc75333853d6d04cfcb505aa3 /railties/guides/source | |
parent | 06e2f7cd173a279a4b1c17040356acca142128b5 (diff) | |
download | rails-e4314e7d3fd93c5ed1eda1cf52ed38cdc2543d25.tar.gz rails-e4314e7d3fd93c5ed1eda1cf52ed38cdc2543d25.tar.bz2 rails-e4314e7d3fd93c5ed1eda1cf52ed38cdc2543d25.zip |
Query guide: visists => visits
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/active_record_querying.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_record_querying.textile b/railties/guides/source/active_record_querying.textile index b4db365a09..a45624809e 100644 --- a/railties/guides/source/active_record_querying.textile +++ b/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 |