ledermann/rails-settings — pull request #28 by yemartin (2013-02-07 10:36:31+00:00)
Title: Quick and dirty fix for design flaw in target scope implementation.

Hi Georg,

Here is a fix for the issue I mentioned by email, with an accompanying test.

I think a proper fix would require a serious redesign: to stop using (and reusing) the ScopedSettings class itself as a kind of container for the settings of a model, but use instances of a class instead.

Anyway, until then, the proposed fix should plug the leaks.

Cheers, and thanks again for your great work!

--
Yves-Eric