Sha256: 346d41ae7048529960206b691e3184d0d00304f4304792bab9f149ea042a2fae
Contents?: true
Size: 442 Bytes
Versions: 47
Compression:
Stored size: 442 Bytes
Contents
module Ridgepole class ConnectionAdapters def self.mysql? defined?(ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter) && ActiveRecord::Base.connection.is_a?(ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter) end def self.postgresql? defined?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter) && ActiveRecord::Base.connection.is_a?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter) end end end
Version data entries
47 entries across 47 versions & 1 rubygems