We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec2e811 commit c7d3550Copy full SHA for c7d3550
lib/suspenders/generators.rb
@@ -65,7 +65,7 @@ def raise_if_database_unsupported
65
66
def database_unsupported?
67
configuration = File.read(Rails.root.join("config/database.yml"))
68
- configuration = YAML.load(configuration, aliases: true)
+ configuration = YAML.safe_load(configuration, aliases: true)
69
adapter = configuration["default"]["adapter"]
70
71
adapter != "postgresql"
0 commit comments