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 the wrong documentation about config.autoload_paths [ci skip] #19742

Merged
merged 1 commit into from
Apr 13, 2015
Merged

Fix the wrong documentation about config.autoload_paths [ci skip] #19742

merged 1 commit into from
Apr 13, 2015

Conversation

meinac
Copy link
Contributor

@meinac meinac commented Apr 13, 2015

config.autoload_paths is not changeable from environment specific configuration files.

config.autoload_paths is not changeable from environment specific configuration files.
`config.autoload_paths` is accessible from environment-specific configuration
files, but any changes made to it outside `config/application.rb` don't have any
effect.
`config.autoload_paths` is not changeable from environment-specific configuration files.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems to me that both sentences are saying the same thing, the first one just states that you can access it, but not change it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it says trying to change it does not effect but actually it leads an error can't modify frozen Array (RuntimeError)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm right, because it gets frozen. Thanks.

carlosantoniodasilva added a commit that referenced this pull request Apr 13, 2015
Fix the wrong documentation about config.autoload_paths [ci skip]
@carlosantoniodasilva carlosantoniodasilva merged commit ea97c76 into rails:master Apr 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants