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

Allows to load RailsConfig manually #107

Merged
merged 1 commit into from
Jun 27, 2015

Conversation

Antiarchitect
Copy link

Allows to load RailsConfig manually and even before app configuration process (e.g. inside config/application.rb):

module Appname
  class Application < Rails::Application

    Bundler.require(*Rails.groups)
    RailsConfig::Integration::Rails::Railtie.preload

    ...

    config.time_zone = Settings.time_zone

    ...

   end
end

refers to #106

… process (e.g. inside config/application.rb)
@fredwu
Copy link
Member

fredwu commented Jun 27, 2015

Neat!

fredwu added a commit that referenced this pull request Jun 27, 2015
Allows to load RailsConfig manually
@fredwu fredwu merged commit 9e23f3b into rubyconfig:master Jun 27, 2015
@pkuczynski pkuczynski added this to the 0.3.pre milestone Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants