Permalink
Browse files

require ActiveSupport deprecatation file before using deprecate metho…

…d in database_statements

otherwise when using external ActiveRecord adapters (e.g. Oracle) database_statements might be loaded before active_support/core_ext/module/deprecation which results in NoMethodError (commit 60cf65d added "deprecate" call to database_statements.rb)
  • Loading branch information...
1 parent 40afcad commit 1d758d9086724faa4f46554135f304fa570c507d @rsim rsim committed Jan 4, 2011
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/module/deprecation'
+
module ActiveRecord
module ConnectionAdapters # :nodoc:
module DatabaseStatements

0 comments on commit 1d758d9

Please sign in to comment.