Skip to content

Instantly share code, notes, and snippets.

@welingtonsampaio
Created November 8, 2013 14:02
Show Gist options
  • Save welingtonsampaio/7371460 to your computer and use it in GitHub Desktop.
Save welingtonsampaio/7371460 to your computer and use it in GitHub Desktop.
Model for Database.yml to rails
development:
adapter: sqlite3
database: db/development.sqlite3
pool: 5
timeout: 5000
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
production:
adapter: sqlite3
database: db/production.sqlite3
pool: 5
timeout: 5000
# adapter: mysql2
# encoding: utf8
# database:
# username:
# password:
# host:
# port:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment