Permalink
Browse files

Don't tell me about defined reader methods, even at debug level.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2489 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent f218771 commit 60a60f979835992792feb6d3f78eb5f14350adb2 @jeremy jeremy committed Oct 7, 2005
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/base.rb
View
1 activerecord/lib/active_record/base.rb
@@ -1353,7 +1353,6 @@ def define_read_method(symbol, attr_name, column)
self.class.class_eval("def #{symbol}; #{body} end")
self.class.read_methods[attr_name] = true unless symbol == :id
- logger.debug "Defined read method #{self.class.name}.#{symbol}" if logger
end
# Returns true if the attribute is of a text column and marked for serialization.

0 comments on commit 60a60f9

Please sign in to comment.