Module: ActiveRecord::Turntable::ActiveRecordExt::Association
- Includes:
- ShardingCondition
- Defined in:
- lib/active_record/turntable/active_record_ext/association.rb
Class Method Summary collapse
Class Method Details
.prepended(mod) ⇒ Object
8 9 10 |
# File 'lib/active_record/turntable/active_record_ext/association.rb', line 8 def self.prepended(mod) ActiveRecord::Associations::Builder::Association::VALID_OPTIONS << :foreign_shard_key end |