提交 3807db8e 编写于 作者: B Brian Doll

Fixing spelling error in activerecord guide in the validation callbacks section, closing issue #2

上级 926ff0e0
......@@ -244,7 +244,7 @@ The default error message for +validates_exclusion_of+ is "_is reserved_".
h4. +validates_format_of+
This helper validates the attributes' values by testing whether they match a given regular expresion, which is specified using the +:with+ option.
This helper validates the attributes' values by testing whether they match a given regular expression, which is specified using the +:with+ option.
<ruby>
class Product < ActiveRecord::Base
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册