Module: Goldiloader::AssociationOptions::AssociationBuilderExtension

Defined in:
lib/goldiloader/association_options.rb

Overview

This is only used in Rails 5+

Class Method Summary collapse

Class Method Details

.build(model, reflection) ⇒ Object



11
12
13
# File 'lib/goldiloader/association_options.rb', line 11

def self.build(model, reflection)
  # We have no callbacks to register
end

.valid_optionsObject



15
16
17
# File 'lib/goldiloader/association_options.rb', line 15

def self.valid_options
  OPTIONS
end