Method: Effective::Resources::Sql#postgres?
- Defined in:
- app/models/effective/resources/sql.rb
#postgres? ⇒ Boolean
103 104 105 106 |
# File 'app/models/effective/resources/sql.rb', line 103 def postgres? return @postgres unless @postgres.nil? @postgres ||= (klass.connection.kind_of?(ActiveRecord::ConnectionAdapters::PostgreSQLAdapter) rescue false) end |