diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2010-08-31 00:16:31 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2010-08-31 00:16:31 +0100 |
commit | 5076af5aa19f019396d4d33b92813503c0a728ec (patch) | |
tree | 166ce5c6a813a557b6c399af0ed2dd9de19e0588 /railties/guides/source | |
parent | 6d8fc26ce860259d05d4655af584641e4bf33554 (diff) | |
download | rails-5076af5aa19f019396d4d33b92813503c0a728ec.tar.gz rails-5076af5aa19f019396d4d33b92813503c0a728ec.tar.bz2 rails-5076af5aa19f019396d4d33b92813503c0a728ec.zip |
Fix an english fail
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 70a0ab9fcb..1de1808bc7 100644 --- a/railties/guides/source/active_record_querying.textile +++ b/railties/guides/source/active_record_querying.textile @@ -517,7 +517,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 trying to 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 _visists_. h4. Locking Records for Update |