Methods

Class Index [+]

Quicksearch

Sequel::Model::Associations

Associations are used in order to specify relationships between model classes that reflect relations between tables in the database using foreign keys.

Constants

ASSOCIATION_TYPES

Map of association type symbols to association reflection classes.

Public Class Methods

apply(model) click to toggle source

Set an empty association reflection hash in the model

    # File lib/sequel/model/associations.rb, line 10
10:       def self.apply(model)
11:         model.instance_variable_set(:@association_reflections, {})
12:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.