From 00cc1ff6ce783a25b9bb74248a92cec86d52419f Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 6 May 2012 22:47:06 +0200 Subject: [PATCH] Improved code layout. --- app/models/application_model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/application_model.rb b/app/models/application_model.rb index 7012f1a08..762f6f1f6 100644 --- a/app/models/application_model.rb +++ b/app/models/application_model.rb @@ -15,7 +15,7 @@ class ApplicationModel < ActiveRecord::Base def self.cache_set(data_id, data) # puts 'cache_set', data_id key = self.to_s + '::' + data_id.to_s - Rails.cache.write( key.to_s, data) + Rails.cache.write( key.to_s, data ) end def self.cache_get(data_id) # puts 'cache_get', data_id