Class: Arel::Table

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

Instance Method Summary collapse

Instance Method Details

#[](name) ⇒ Object



33
34
35
# File 'lib/ransack/adapters/active_record/3.0/compat.rb', line 33

def [] name
  ::Arel::Attribute.new self, name.to_sym
end