partitionable
partitionable copied to clipboard
Seamless PostgreSQL date partitioning for your Rails models
Hi, is it possible to use this gem to partition a table based on other fields rather than by a date field? In my use case I would like it...
The partitioning code runs before the value is auto-filled in (created_at)
Trying out partitionable in an env with more than one DB, have postgres on certain models (using secondbase gem), the partition commands seem to run against the base db connection.