Permalink
Browse files

Oops, I was using a string eval on purpose.

git-svn-id: https://terralien.devguard.com/svn/projects/plugins/query_trace@17 62287d4f-6109-0410-89f5-c3c281edf842
  • Loading branch information...
nathaniel
nathaniel committed Jun 5, 2006
1 parent 0d6450d commit de578fa0402c3dccf31df8f5cc04e8f14c8564c3
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/query_trace.rb
View
@@ -4,11 +4,12 @@ def self.append_features(klass)
klass.class_eval do
alias_method :log_info_without_trace, :log_info
alias_method :log_info, :log_info_with_trace
-
+ end
+ klass.class_eval %(
def row_even
@@row_even
end
- end
+ )
end
def log_info_with_trace(sql, name, runtime)

0 comments on commit de578fa

Please sign in to comment.