]> source.dussan.org Git - redmine.git/commit
Added cache for application settings (Setting model).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 31 Aug 2007 17:45:32 +0000 (17:45 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 31 Aug 2007 17:45:32 +0000 (17:45 +0000)
commit6bdc13b33d8d8d2052d029ac8f99ad0f62df6211
tree63dfcae54f321345ea965def352c061634de1dad
parent404bfce446915fe9dadcfce7b36d732813523e28
Added cache for application settings (Setting model).
Once the values are cached, only one database query is done at each user request (to check if the cache is still valid).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@685 e93f8b46-1217-0410-a6f0-8f06a7374b81
app/controllers/application.rb
app/models/setting.rb
db/migrate/065_add_settings_updated_on.rb [new file with mode: 0644]