From 43f32f2f5db343e6345f63222976f73d1bd82e7f Mon Sep 17 00:00:00 2001 From: Vijay Dev Date: Thu, 11 Oct 2012 00:43:52 +0530 Subject: Revert "Fix Example in active model attribute methods" This reverts commit 1c02b988641c201308e6b3de6457128878e47bd5. --- activemodel/lib/active_model/attribute_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activemodel/lib/active_model/attribute_methods.rb') diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index 975b4a69bb..ef04f1fa49 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