Module: Simple::Sharding::ScopeMethods
- Defined in:
- lib/simple/sharding/active_record_extensions.rb
Instance Method Summary collapse
Instance Method Details
#sharding(shard_id) ⇒ Object
23 24 25 26 27 |
# File 'lib/simple/sharding/active_record_extensions.rb', line 23 def sharding(shard_id) raise 'Error for sharding block.' if block_given? end |