<% current_branch = `git branch`.match(/^\* (.*)$/)[1] %> development: ..blah.. database: project_development_<%= current_branch %> test: ..blah.. database: project_test_<%= current_branch %>