settingslogic
settingslogic copied to clipboard
A simple and straightforward settings solution that uses an ERB enabled YAML file and a singleton design pattern.
When running script/about or script/server, rails crashes, complaining that the 'defaults' setting is missing, even though it seems fine to me (I just followed the instructions in the doc page)....
....take I18n.locale into account. Seems to be tricky to setup now.
I have the following config: defaults: &defaults google_analytics: enabled: false web_property_id: 12345-1 development: > Settings.google_analytics.enabled > > => false > > Settings.google_analytics.web_property_id > > => "12345-1" In production: > >...
Settings.something
Aliases completely break the logic behind `settingslogic` gem after upgrading to the latest Psych version. It has been described here: https://bugs.ruby-lang.org/issues/17866 I applied the same solution Rails team applies a...
Found via `typos --format brief`