Skip to content

Commit

Permalink
Dummy App generator: Use db var instead of ENV var
Browse files Browse the repository at this point in the history
A couple of lines before this change, we already normalize `ENV['db']`.
We lose that work by relying on the raw ENV var here.
  • Loading branch information
mamhoff committed Jan 24, 2024
1 parent 0c3dc7a commit 1411fc9
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 1411fc9

Please sign in to comment.