Module: ActiveRecord::Bitemporal::Relation::MergeWithExceptBitemporalDefaultScope
- Defined in:
- lib/activerecord-bitemporal/scope.rb
Instance Method Summary collapse
Instance Method Details
#merge(other) ⇒ Object
106 107 108 109 110 111 112 |
# File 'lib/activerecord-bitemporal/scope.rb', line 106 def merge(other) if other.is_a?(Relation) && other.klass.bi_temporal_model? super(other.except_bitemporal_default_scope) else super end end |