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

In Readme it should be 'Config::Integrations::Rails::Railtie.preload' #145

Closed
anmarchenko opened this issue May 28, 2016 · 2 comments
Closed
Milestone

Comments

@anmarchenko
Copy link

Currently in readme it says that in order to use config in initializers you should use code

Config::Integration::Rails::Railtie.preload

when actually it should be (with -s)

Config::Integrations::Rails::Railtie.preload
@pkuczynski
Copy link
Member

Fixed in #146 by @kris

@pkuczynski pkuczynski added this to the 1.3 milestone May 31, 2016
@pkuczynski
Copy link
Member

@altmer, using preload mentioned in the README should not be required anymore, as Config should be loaded before Rails configuration. Example basic Rails app illustrating this case is presented on this repo: https://github.com/railsconfig/config-rails-4.2

I am writing to you, as I assume you used the README suggestion in you application. Could you please remove it from your app and check it that's still working? I assume it should and then I could remove this unnecessary description from README...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants