Class: Criteria::Association

Inherits:
Column
  • Object
show all
Defined in:
lib/criteria.rb

Overview

Association can be treated like a Column, except that values should be an instance of the associated class

Direct Known Subclasses

ManyToOneAssociation, OneToManyAssociation

Instance Method Summary collapse

Methods inherited from Column

#<, #<=, #==, #>, #>=, #adapter, #asc, #bound_class, #column_name, #desc, #eq, #ge, #gt, #in, #initialize, #le, #lt, #ne, #not_in, #quote_value, #table_name, #to_s, #to_sql_name

Constructor Details

This class inherits a constructor from Criteria::Column

Instance Method Details

#association_nameObject



426
427
428
# File 'lib/criteria.rb', line 426

def association_name
  @column
end