mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix an english fail
This commit is contained in:
parent
6d8fc26ce8
commit
5076af5aa1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue