Skip to content
Browse files

* Fix specs

  • Loading branch information...
1 parent 3bf6057 commit d653e30b322f97c38360f032589a0db4f6525136 @smtlaissezfaire committed Jan 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 init.rb
View
2 init.rb
@@ -1,7 +1,7 @@
require File.dirname(__FILE__) + "/lib/enhanced_query_analyzer"
ActiveRecord::ConnectionAdapters::MysqlAdapter.class_eval do
- unless defined?(:old_select_aliased_by_query_analyzer)
+ if !instance_methods.include?("old_select_aliased_by_query_analyzer")
public :select
alias_method :old_select_aliased_by_query_analyzer, :select

0 comments on commit d653e30

Please sign in to comment.
Something went wrong with that request. Please try again.