Module: Octoball::AssociationShardChecker

Included in:
Octoball
Defined in:
lib/octoball/association_shard_check.rb

Instance Method Summary collapse

Instance Method Details

#has_and_belongs_to_many(association_id, scope = nil, **options, &extension) ⇒ Object



29
30
31
32
# File 'lib/octoball/association_shard_check.rb', line 29

def has_and_belongs_to_many(association_id, scope = nil, **options, &extension)
  assign_octoball_check_opts(options)
  super
end

#has_many(name, scope = nil, **options, &extension) ⇒ Object



24
25
26
27
# File 'lib/octoball/association_shard_check.rb', line 24

def has_many(name, scope = nil, **options, &extension)
  assign_octoball_check_opts(options)
  super
end