method

primary?

Importance_1
v6.1.7.7 - Show latest stable - 0 notes - Class: DatabaseConfigurations
primary?(name) public

A primary configuration is one that is named primary or if there is no primary, the first configuration for an environment will be treated as primary. This is used as the “default” configuration and is used when the application needs to treat one configuration differently. For example, when Rails dumps the schema, the primary configuration’s schema file will be named `schema.rb` instead of `primary_schema.rb`.

Show source
Register or log in to add new notes.