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



30
31
32
# File 'lib/ransack/adapters/active_record/3.0/compat.rb', line 30

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