custom_configuration

by dhh

Custom configuration storage for Rails

208 Stars 5 Forks Last release: Not found MIT License 5 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Custom Configuration

Makes it easy to use the Rails.configuration point as your central configuration store, even for things not included in Rails.

# config/environments/production.rb
BCX::Application.configure do
  config.x.resque.jobs_inline = true
end

config/initializers/resque.rb

if Rails.configuration.x.resque.jobs_inline Resque.inline = true end

Part of Rails 4.2+

The functionality from this gem is included directly in Rails 4.2+.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.