Module: Goldiloader::AssociationOptions

Extended by:
AssociationOptions
Included in:
AssociationOptions
Defined in:
lib/goldiloader/association_options.rb

Defined Under Namespace

Modules: AssociationBuilderExtension

Constant Summary collapse

OPTIONS =
[:fully_load].freeze

Instance Method Summary collapse

Instance Method Details

#registerObject



20
21
22
# File 'lib/goldiloader/association_options.rb', line 20

def register
  ActiveRecord::Associations::Builder::Association.extensions << AssociationBuilderExtension
end