Description Usage Arguments Details Value
Your database.yml should look like:
1 | db_connection(database.yml, env, verbose = TRUE)
|
database.yml |
character. The location of the database.yml file to use. This could, for example, some file in the config directory. |
env |
character. What environment to use from the database.yml.
In the example database.yml, the environment is |
verbose |
logical. Whether or not to print messages indicating
loading is in progress. Defaults to |
development: adapter: PostgreSQL username: <username> password: <password> database: <name> host: <domain> port: <port #>
the database connection specified by your database.yml file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.