schleyfox (owner)

Revisions

gist: 33051 Download_button fork
public
Public Clone URL: git://gist.github.com/33051.git
database.yaml
1
2
3
4
5
6
7
8
9
10
<% current_branch = `git branch`.match(/^\* (.*)$/)[1] %>
 
development:
  ..blah..
  database: project_development_<%= current_branch %>
 
test:
  ..blah..
  database: project_test_<%= current_branch %>