Skip to content

[FEATURE REQUEST] Support ERB in database config yml file for tests #722

@arielj

Description

@arielj

It is common in Rails to include ERB code inside the config/database.yml file.

Doing the same when running tests for this gem and the different parts like database_cleaner-active_record does not support using ERB and it's considered part of the values, like... doing password: <%= ENV["MYSQL_PASSWORD"] || "" %> sets the literal "<%= ENV["MYSQL_PASSWORD"] || "" %>" string as the value instead of getting the value from the ENV or having a fallback.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions