blank?() Instance Public methods Returns true if relation is blank.
any?() Instance Public methods Returns true if there are any records.
==(other) Instance Public methods Compares two relations for equality.
new(klass, table, values = {}) Class Public methods
klass() Instance Public methods Returns the class for the macro. composed_of :balance, class_name: 'Money' returns the Money class has_many :clients returns the Client class
class_name() Instance Public methods Returns the class name for the macro. composed_of :balance, class_name: 'Money' returns 'Money' has_many :clients returns 'Client'
autosave=(autosave) Instance Public methods
==(other_aggregation) Instance Public methods Returns true if self and other_aggregation have the same name attribute, active_record attribute, and other_aggregation has an options hash assigned to it.
new(macro, name, scope, options, active_record) Class Public methods
reflections() Instance Public methods Returns a Hash of name of the reflection as the key and a AssociationReflection as the value. Account.reflections # => {balance: AggregateReflection} @api public
Page 182 of 2275