Class: Arel::Table
- Inherits:
-
Object
- Object
- Arel::Table
- Defined in:
- lib/rails/3.0/arel/table.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.table_cache_with_wraithdb(engine) ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/rails/3.0/arel/table.rb', line 13 def table_cache_with_wraithdb(engine) begin table_cache_without_wraithdb(engine) rescue StandardError => e tables = {} WraithDB::Schema.tables.keys.each do |table_name| tables[table_name] = true end tables end end |