Module: ActiveRecord::Bitemporal::Patches::Merger
- Defined in:
- lib/activerecord-bitemporal/patches.rb
Instance Method Summary collapse
Instance Method Details
#merge ⇒ Object
112 113 114 115 116 117 |
# File 'lib/activerecord-bitemporal/patches.rb', line 112 def merge if relation.klass.bi_temporal_model? && other.klass.bi_temporal_model? relation.bitemporal_value.merge! other.bitemporal_value end super end |