module Switchman::ActiveRecord::CollectionProxy

Public Class Methods

new(*args) click to toggle source
Calls superclass method
# File lib/switchman/active_record/association.rb, line 180
def initialize(*args)
  super
  self.shard_value = scope.shard_value
  self.shard_source_value = :association
end

Public Instance Methods

shard(*args) click to toggle source
# File lib/switchman/active_record/association.rb, line 186
def shard(*args)
  scope.shard(*args)
end