lib/ridgepole/connection_adapters.rb in ridgepole-0.7.8 vs lib/ridgepole/connection_adapters.rb in ridgepole-0.8.0.rc1
- old
+ new
@@ -1,6 +1,4 @@
-# frozen_string_literal: true
-
module Ridgepole
class ConnectionAdapters
def self.mysql?
defined?(ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter) && ActiveRecord::Base.connection.is_a?(ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter)
end