Method: Octopus::AssociationShardTracking#default_octopus_opts

Defined in:
lib/octopus/association_shard_tracking.rb

#default_octopus_opts(options) ⇒ Object



52
53
54
55
# File 'lib/octopus/association_shard_tracking.rb', line 52

def default_octopus_opts(options)
  options[:before_add] = [ :connection_on_association=, options[:before_add] ].compact.flatten
  options[:before_remove] = [ :connection_on_association=, options[:before_remove] ].compact.flatten
end