From 4532b39f5faa15af957e3b41b671f07ed201488d Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 17 Mar 2011 10:31:12 -0700 Subject: remove misleading comment --- activemodel/lib/active_model/attribute_methods.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'activemodel/lib') diff --git a/activemodel/lib/active_model/attribute_methods.rb b/activemodel/lib/active_model/attribute_methods.rb index c985eb293b..76bfd4b77d 100644 --- a/activemodel/lib/active_model/attribute_methods.rb +++ b/activemodel/lib/active_model/attribute_methods.rb @@ -106,8 +106,6 @@ module ActiveModel if block_given? sing.send :define_method, name, &block else - # use eval instead of a block to work around a memory leak in dev - # mode in fcgi value = value.nil? ? 'nil' : value.to_s sing.send(:define_method, name) { value.dup } end -- cgit v1.2.3