• Kamil Trzciński's avatar
    Add `main_database?` helper · 257459cd
    Kamil Trzciński authored
    This ensures that we use `main:`
    as an indicator for a main unsharded
    database.
    
    This adds a helper method, and additionally
    updated `database.yml.postgresql` to properly
    support that for `rspec`.
    257459cd
database_spec.rb 19.7 KB