Handle `select_one` queries in database load balancing
We have `select` going to the secondary, and `select_all` optionally going to the secondary, but `select_one` (using for methods like `any?`) was going to a primary via `method_missing`. Similarly, if we're handling `quote_column_name`, we should treat `sanitize_limit` in the same way.
Showing
Please register or sign in to comment