Navigation Menu

Skip to content

Commit

Permalink
Add note to readme about adapter name when using DATABASE_URL
Browse files Browse the repository at this point in the history
[References #500]
  • Loading branch information
cdinger committed Oct 6, 2015
1 parent f681105 commit a333af4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Expand Up @@ -178,6 +178,14 @@ development:
password: secret
```


If you choose to specify your database connection via the `DATABASE_URL`
environment variable, note that the adapter name uses a dash instead of an underscore:

```bash
DATABASE_URL=oracle-enhanced://localhost/XE
```

If you deploy JRuby on Rails application in Java application server that supports JNDI connections then you can specify JNDI connection as well:

```yml
Expand Down

0 comments on commit a333af4

Please sign in to comment.