提交 4c7c4061 编写于 作者: J José Valim

Remove reference to unexistent methods and fix typo.

上级 759eb360
......@@ -112,7 +112,7 @@ def normalize_name(name, prefix) #:nodoc:
end
def default_handlers #:nodoc:
@detault_handlers ||= Template::Handlers.extensions
@default_handlers ||= Template::Handlers.extensions
end
def handlers_regexp #:nodoc:
......
......@@ -112,7 +112,6 @@ def validates_each(*attr_names, &block)
# end
# end
#
# This usage applies to +validate_on_create+ and +validate_on_update as well+.
def validate(*args, &block)
options = args.last
if options.is_a?(Hash) && options.key?(:on)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册