Skip to content

Commit

Permalink
Oops, I was using a string eval on purpose.
Browse files Browse the repository at this point in the history
git-svn-id: https://terralien.devguard.com/svn/projects/plugins/query_trace@17 62287d4f-6109-0410-89f5-c3c281edf842
  • Loading branch information
nathaniel committed Jun 5, 2006
1 parent 0d6450d commit de578fa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/query_trace.rb
Expand Up @@ -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)
Expand Down

0 comments on commit de578fa

Please sign in to comment.