提交 e4314e7d 编写于 作者: R Ryan Bigg

Query guide: visists => visits

上级 06e2f7cd
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册