Permalink
Browse files

Fix typo in AMo docs [ci skip]

  • Loading branch information...
1 parent 535bd55 commit a6da73f975892635e6a0bcbfe8eb8410fcbb07a4 @carlosantoniodasilva carlosantoniodasilva committed Jan 6, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/attribute_methods.rb
@@ -245,7 +245,7 @@ def attribute_alias(name)
# private
#
# def clear_attribute(attr)
- # send("#{attr}", nil)
+ # send("#{attr}=", nil)
# end
# end
def define_attribute_methods(*attr_names)

0 comments on commit a6da73f

Please sign in to comment.