Skip to content

Instantly share code, notes, and snippets.

@semanticart
Created June 7, 2010 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save semanticart/428677 to your computer and use it in GitHub Desktop.
Save semanticart/428677 to your computer and use it in GitHub Desktop.
common: &shared
adapter: sqlite3
pool: 5
timeout: 5000
<% %W(development test staging production).each do |env| %>
<%= env %>:
database: rcworkshop_<%= env %>.sqlite3
<<: *shared
<% end %>
cucumber:
database: rcworkshop_test.sqlite3
<<: *shared
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment