lib/appstats/test_unloaded_query.rb in appstats-0.22.2 vs lib/appstats/test_unloaded_query.rb in appstats-0.22.3
- old
+ new
@@ -2,8 +2,8 @@
# Do not explicitly load this file - it will be done in a test
class UnloadedQuery
attr_accessor :query
def process_query; end
def db_connection
- ActiveRecord::Base.connection
+ Appstats.connection
end
end
\ No newline at end of file