From 1c02b988641c201308e6b3de6457128878e47bd5 Mon Sep 17 00:00:00 2001 From: Nick Rowe Date: Tue, 2 Oct 2012 15:18:08 -0700 Subject: Fix Example in active model attribute methods --- activemodel/lib/active_model/attribute_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index ef04f1fa49..975b4a69bb 100644 --- a/activemodel/lib/active_model/attribute_methods.rb +++ b/activemodel/lib/active_model/attribute_methods.rb @@ -33,7 +33,7 @@ module ActiveModel # attribute_method_affix prefix: 'reset_', suffix: '_to_default!' # attribute_method_suffix '_contrived?' # attribute_method_prefix 'clear_' - # define_attribute_methods :name + # define_attribute_methods [:name] # # attr_accessor :name # -- cgit v1.2.3