require ActiveSupport deprecatation file before using deprecate method 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 60cf65def805995bcca184c40b44bb01d86a48aa added "deprecate" call to database_statements.rb)
This commit is contained in:
parent
40afcade0d
commit
1d758d9086
@ -1,3 +1,5 @@
|
||||
require 'active_support/core_ext/module/deprecation'
|
||||
|
||||
module ActiveRecord
|
||||
module ConnectionAdapters # :nodoc:
|
||||
module DatabaseStatements
|
||||
|
Loading…
Reference in New Issue
Block a user