Class: ActiveRecord::ConnectionAdapters::AbstractAdapter
- Inherits:
-
Object
- Object
- ActiveRecord::ConnectionAdapters::AbstractAdapter
- Defined in:
- lib/database_cleaner/active_record/truncation.rb
Direct Known Subclasses
IBM_DBAdapter, JdbcAdapter, Mysql2Adapter, OracleEnhancedAdapter, PostgreSQLAdapter, SQLServerAdapter, SQLiteAdapter
Instance Method Summary collapse
Instance Method Details
#views ⇒ Object
12 13 14 |
# File 'lib/database_cleaner/active_record/truncation.rb', line 12 def views @views ||= select_values("select table_name from information_schema.views where table_schema = '#{current_database}'") rescue [] end |