Class: ActiveShard::ActiveRecord::ShardedBase
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ActiveShard::ActiveRecord::ShardedBase
- Includes:
- ShardSupport
- Defined in:
- lib/active_shard/active_record/sharded_base.rb
Overview
ShardedBase is a subclass of ActiveRecord::Base which mixes in the ShardSupport module.
For an explanation of why you’d use ShardedBase or ShardSupport, @see ActiveShard::ActiveRecord