From a6da73f975892635e6a0bcbfe8eb8410fcbb07a4 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Mon, 6 Jan 2014 08:45:21 -0200 Subject: Fix typo in AMo docs [ci skip] --- activemodel/lib/active_model/attribute_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel') diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index 2da2e8ec64..ea07c5c039 100644 --- a/activemodel/lib/active_model/attribute_methods.rb +++ b/activemodel/lib/active_model/attribute_methods.rb @@ -245,7 +245,7 @@ module ActiveModel # private # # def clear_attribute(attr) - # send("#{attr}", nil) + # send("#{attr}=", nil) # end # end def define_attribute_methods(*attr_names) -- cgit v1.2.3