Module: Switchman::ActiveRecord::Reflection::AssociationReflection
- Defined in:
- lib/switchman/active_record/reflection.rb
Instance Method Summary collapse
Instance Method Details
#join_id_for(owner) ⇒ Object
12 13 14 |
# File 'lib/switchman/active_record/reflection.rb', line 12 def join_id_for(owner) owner.send(active_record_primary_key) # use sharded id values in association binds end |
#quoted_table_name ⇒ Object
8 9 10 |
# File 'lib/switchman/active_record/reflection.rb', line 8 def quoted_table_name klass.quoted_table_name end |