Class: ActiveRecord::Associations::ClassMethods::JoinDependency::JoinBase

Inherits:
Object
  • Object
show all
Defined in:
lib/ransack/adapters/active_record/3.0/compat.rb

Instance Method Summary collapse

Instance Method Details

#tableObject



18
19
20
21
22
# File 'lib/ransack/adapters/active_record/3.0/compat.rb', line 18

def table
  Arel::Table.new(table_name, :as      => aliased_table_name,
                              :engine  => active_record.arel_engine,
                              :columns => active_record.columns)
end