instance method reload

Ruby on Rails edge

Since edge

Signature

reload()

Reload the cached .env values in case the file changed during runtime.

Source
# File activesupport/lib/active_support/dot_env_configuration.rb, line 47
    def reload
      @envs = parse_env_file
    end

Defined in activesupport/lib/active_support/dot_env_configuration.rb line 47 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::DotEnvConfiguration

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close