# File lib/merb-cache/cache-store/database-activerecord.rb, line 32 def self.cache_get(key) if entry = self.find(:first, :conditions => ["ckey=?", key]) return entry.data if entry.expire.nil? || Time.now < entry.expire self.expire(key) end nil end