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