Skip to content
Browse files


  • Loading branch information...
1 parent f59082e commit 3765aaa26ba87863d0f562dced96a6c6359ab938 @robhurring committed
Showing with 6 additions and 3 deletions.
  1. +6 −3
@@ -52,12 +52,12 @@ Usage with rails is also supported, which makes app configuration between enviro
RailsConfiguration.api.token # => 'prodtoken' (if in production, else 'devtoken')
Note: custom environments don't work when using settables at the class level right now. There is an alternate
-way of using this lib.
+way of using this lib if you need multiple, separate, configs in your app
# Use instances rather than at the class leave out the 'make_settable' call
class Configuration
include Settable
+ include Settable::Rails
def initialize(&block)
instance_eval &block
@@ -65,7 +65,10 @@ way of using this lib.
# in an initializer or wherever
- $config = do
+ $app_config = do
set :key, 'value'
+ $seo_config = do
+ enable :tracking
+ end

0 comments on commit 3765aaa

Please sign in to comment.
Something went wrong with that request. Please try again.