ledermann/rails-settings — pull request #14 by mceachen (2012-02-28 06:15:43+00:00)
Title: Added support for ActiveSupport::Cache

Given that settings seem to be a slightly different beast that normal activerecord models (especially those in global scope), I added support for Settings-specific caching (rather than relying on the query cache which only works within a controller).

I have code that hits a number of settings values repeatedly, and rather than pollute my client code with caching, I figured other people might want the same feature.

I had to add rake and sqlite3 to the gemspec to make rake happy with ruby 1.8.7 (2011-12-28 patchlevel 357) [i686-darwin10.8.0] and ActiveRecord 3.2.1. :-?

Thanks for updating your gem for rails 3!