Skip to content

Instantly share code, notes, and snippets.

@juliandunn
Created September 28, 2012 03:46
Show Gist options
  • Save juliandunn/3797831 to your computer and use it in GitHub Desktop.
Save juliandunn/3797831 to your computer and use it in GitHub Desktop.
search template example
<% unless ( @postgres_master.empty? ) then -%>
_db_host=<%= @postgres_master[0]['fqdn'] %>
<% else -%>
_db_host=localhost
<% end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment