binarylogic/settingslogic

Doesn't work with nesting

Opened this issue · 1 comments

Settings.something <-- Works for me
Settings.something.other <-- Doesn't work at all

I am on Rails version 2.3.4 and get a NoMethodError on script/console from ActionController of all things! Really strange...

Please ignore this one. Unlike what the documentation suggests, I figured out the hard way that:

  1. Config, Configuration as class names wreak havoc
  2. You can't have a key called app

Also,
Instead of polluting the app/models directory; the RAILS_ROOT/lib is an ideal place for the Settings class.