Module: Torque::PostgreSQL::Associations::Preloader::Association

Defined in:
lib/torque/postgresql/associations/preloader/association.rb

Instance Method Summary collapse

Instance Method Details

#runObject

For reflections connected through an array, make sure to properly decuple the list of ids and set them as associated with the owner



13
14
15
16
# File 'lib/torque/postgresql/associations/preloader/association.rb', line 13

def run
  return super unless connected_through_array?
  send("run_array_for_#{@reflection.macro}")
end