-if defined?(ActionRecord::ConnectionAdaptors::AbstractAdaptor)
+if defined?(ActiveRecord::ConnectionAdaptors::AbstractAdaptor)
module ActiveRecord
module ConnectionAdapters
class AbstractAdapter
-if defined?(ActionRecord::ConnectionAdaptors::PostgreSQLAdaptor)
+if defined?(ActiveRecord::ConnectionAdaptors::PostgreSQLAdaptor)
module ActiveRecord
module ConnectionAdapters
class PostgreSQLAdapter
-if defined?(ActionRecord::ConnectionAdaptors::QueryCache)
+if defined?(ActiveRecord::ConnectionAdaptors::QueryCache)
module ActiveRecord
module ConnectionAdapters
module QueryCache
require 'deadlock_retry'
-if defined?(ActionRecord::Base)
+if defined?(ActiveRecord::Base)
ActiveRecord::Base.send :include, DeadlockRetry
end
require 'validations'
require 'test_case'
-if defined?(ActionRecord::Base)
+if defined?(ActiveRecord::Base)
ActiveRecord::Base.send(:include, FileColumn)
ActiveRecord::Base.send(:include, FileColumn::Validations)
end
-if defined?(ActionRecord::Base)
+if defined?(ActiveRecord::Base)
require 'validates_email_format_of'
end