settingslogic
settingslogic copied to clipboard
A simple and straightforward settings solution that uses an ERB enabled YAML file and a singleton design pattern.
It would be nice to be able to define more than one config file and then merge the results
In v2.0.8 gem, 'symbolize_keys' method neither works nor raises any exceptions, which can lead to unexpected results, e.g.: ``` ruby Settings.smtp_settings # => {"address"=>"smtp.sendgrid.net", "port"=>"587", ..... Settings.smtp_settings.symbolize_keys # => {"address"=>"smtp.sendgrid.net",...
From the readme.rdoc: If multiple files are passed on the source line, comma-separated, they will be loaded in order, with settings in later files overriding any existing keys. This allows...
Is it possible to reload settings without restart the entire server?
Hi, I put array in yml file and it works just fine on my local test machine. ad_sequence1: [z,z,z,z,z,z,z,z,z,z] ad_sequence2: ["z","z","z","z","z","z","z","z","z","z"] but if I deploy the code on heroku, in...
Trying to use Settingslogic to open an arbitrary file for settings, and getting this error (from console): ``` eliot:ResumeEverywhere scott$ rails console Loading development environment (Rails 3.0.7) ruby-1.9.2-p290 :001 >...
When using Spork, RSpec, and Cucumber with a Rails project that uses Settingslogic, trying to start Spork causes the following error: ``` No such file or directory - No file...
im wondering how i can source an additional file and override values. what i am trying to do is have a settings.yml file.... and an additional user_settings.yml file. user_settings.yml will...
I cannot use settings logic because the osx import invoke name method upon class initialization, which in turn trigger Settingslogic instantiation before the "source yml_file" being executed, lead to error....
how can i use yml key values as variables within my same yml file? for example.... defaults: &defaults theme: name: default layout_path: so that `Settings.theme.layout_path` will output `themes/default/`