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, #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



339
340
341
# File 'lib/criteria.rb', line 339

def association_name
  @column
end