• Sean McGivern's avatar
    Handle `select_one` queries in database load balancing · 57d7e44f
    Sean McGivern authored
    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.
    57d7e44f
connection_proxy.rb 3.09 KB