Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (16 sloc) 423 Bytes
# DSN (Data Source Name) examples
#
# sqlite3:
# sqlite3://<%= root %>/db/development.sqlite3
# mysql:
# mysql://user:pass@host/database
# postgres:
# postgres://user:pass@host/database
# heroku:
# <%= ENV['DATABASE_URL'] %>
production:
dsn: <%= ENV['DATABASE_URL'] %>
development:
dsn: sqlite3://<%= root %>/db/development.sqlite3
test:
dsn: <%= ENV['DATABASE_URL'] || "sqlite3://#{root}/db/test.sqlite3" %>