test/environments/rails32/config/database.yml in newrelic_rpm-3.6.8.168 vs test/environments/rails32/config/database.yml in newrelic_rpm-3.6.9.171
- old
+ new
@@ -2,10 +2,10 @@
mysql: &mysql
adapter: mysql
socket: <%= (`uname -s` =~ /Linux/ ) ? "" :"/tmp/mysql.sock" %>
username: root
host: localhost
- database: rails_blog
+ database: <%= db = "#{ENV['RUBY_VERSION']}#{ENV['BRANCH']}"; db.empty? ? "rails_blog" : db %>
# Shared properties for postgres. This won't work with our schema but
# Does work with agent tests
sqlite3: &sqlite3
<% if defined?(JRuby) %>