Method: ActiveRecordShards::ShardSupport#initialize
- Defined in:
- lib/active_record_shards/shard_support.rb
#initialize(scope) ⇒ ShardSupport
Returns a new instance of ShardSupport.
13 14 15 |
# File 'lib/active_record_shards/shard_support.rb', line 13 def initialize(scope) @scope = scope end |