method

replica?

Importance_1
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: HashConfig
replica?() public

Determines whether a database configuration is for a replica / readonly connection. If the replica key is present in the config, replica? will return true.

Show source
Register or log in to add new notes.