Created
August 13, 2014 14:35
-
-
Save tatsuosakurai/8f87ffe58a71ee0c5176 to your computer and use it in GitHub Desktop.
grit sample
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% repo = Grit::Repo.new(Rails.root).head.name rescue nil %> | |
development: | |
adapter: mysql2 | |
encoding: utf8 | |
database: hoge_development<%= "_#{repo}" %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment