Skip to content

Commit

Permalink
Merge pull request #5623 from mamhoff/fix-dummy-app-database-yml-three
Browse files Browse the repository at this point in the history
Dummy App generator: Use db var instead of ENV var
  • Loading branch information
spaghetticode authored Jan 24, 2024
2 parents 0c3dc7a + 1411fc9 commit 12cb6f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<% db_username = ENV['DB_USERNAME'] %>
<% db_password = ENV['DB_PASSWORD'] %>

<% case ENV['DB']
<% case db
when 'mysql' %>
development:
adapter: mysql2
Expand Down

0 comments on commit 12cb6f2

Please sign in to comment.