Dynashard allows you to shard your ActiveRecord models. Models can be configured to shard based on context that can be defined dynamically.