Skip to content

lsylvester/connection-pool-error

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run tests with bin/rails test

Error:
DogTest#test_dog:
ArgumentError: The `pool_config` for the :reading role and :default shard was `nil`. Please check your configuration. If you want your writing role to be something other than `:writing` set `config.active_record.writing_role` in your application configuration. The same setting should be applied for the `reading_role` if applicable.
    app/models/animals_record.rb:4:in `<class:AnimalsRecord>'
    app/models/animals_record.rb:1:in `<main>'
    app/models/dog.rb:1:in `<main>'
    test/models/dog_test.rb:6:in `block in <class:DogTest>'

About

Reproduction of connection_pool error

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published