Permalink
Browse files

Remove reference to unexistent methods and fix typo.

  • Loading branch information...
josevalim committed Mar 26, 2010
1 parent 759eb36 commit 4c7c4061558bb8781da0d54159e3cebcb0a8c07a
Showing with 1 addition and 2 deletions.
  1. +1 −1 actionpack/lib/action_view/lookup_context.rb
  2. +0 −1 activemodel/lib/active_model/validations.rb
@@ -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)

0 comments on commit 4c7c406

Please sign in to comment.