Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add back username and port as AR configuration values #188

Closed
wants to merge 1 commit into from

Commits on Sep 21, 2021

  1. Add back username and port as AR configuration values

    In Rail 6.1 the information return is from an `ActiveRecord::DatabaseConfigurations::HashConfig` object, with methods for some but not all of the configuration attributes. This fixes a bug wheree `database` and `host` had getter methods, but the `username` and `port` values did not. All values are now just fetched from the instance variable configuration_hash directly.
    
    Signed-off-by: Tim Chambers <tim@possibilogy.com>
    tjchambers committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    1958498 View commit details
    Browse the repository at this point in the history