module Switchman::ActiveRecord::Reflection::AssociationReflection

Public Instance Methods

join_id_for(owner) click to toggle source
# File lib/switchman/active_record/reflection.rb, line 40
def join_id_for(owner)
  owner.send(join_foreign_key) # use sharded id values in association binds
end