diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-03-17 10:31:12 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-03-17 10:31:12 -0700 |
commit | 4532b39f5faa15af957e3b41b671f07ed201488d (patch) | |
tree | c2becda6f567606ddfcd35ef6f1d8be0ece5accc /activemodel | |
parent | 00f08793677a164bd728a6576e20241697e61c35 (diff) | |
download | rails-4532b39f5faa15af957e3b41b671f07ed201488d.tar.gz rails-4532b39f5faa15af957e3b41b671f07ed201488d.tar.bz2 rails-4532b39f5faa15af957e3b41b671f07ed201488d.zip |
remove misleading comment
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/lib/active_model/attribute_methods.rb | 2 |
1 files changed, 0 insertions, 2 deletions
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 |