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

Fix protected environments with symbols #31423

Merged

Commits on Dec 12, 2017

  1. Convert protected_environments to an array of strings

      These changes prevent ignoring environments name of which is a `Symbol`
      ```
      config.active_record.protected_environments = ['staging', :production]
      ```
    bogdanvlviv committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    1a411d4 View commit details
    Browse the repository at this point in the history
  2. Update 'Configuring Rails Applications' guide

      - Add mention about `config.active_record.internal_metadata_table_name`
      - Add mention about `config.active_record.protected_environments`
    bogdanvlviv committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    011e641 View commit details
    Browse the repository at this point in the history