Skip to content

Allows to load RailsConfig manually#107

Merged
fredwu merged 1 commit intorubyconfig:masterfrom
Antiarchitect:loading-nicely
Jun 27, 2015
Merged

Allows to load RailsConfig manually#107
fredwu merged 1 commit intorubyconfig:masterfrom
Antiarchitect:loading-nicely

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.

3 participants