Skip to content

Commit

Permalink
remove misleading comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed Mar 17, 2011
1 parent 00f0879 commit 4532b39
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions activemodel/lib/active_model/attribute_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,6 @@ def define_attr_method(name, value=nil, &block)
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
Expand Down

0 comments on commit 4532b39

Please sign in to comment.