Method: Octopus::AssociationShardTracking#assign_octopus_opts

Defined in:
lib/octopus/association_shard_tracking.rb

#assign_octopus_opts(scope, options) ⇒ Object



57
58
59
60
61
62
63
# File 'lib/octopus/association_shard_tracking.rb', line 57

def assign_octopus_opts(scope, options)
  if options == {} && scope.is_a?(Hash)
    default_octopus_opts(scope)
  else
    default_octopus_opts(options)
  end
end