Rafael
2009-May-26 13:15 UTC
Rails.cache.fetch("Survey.all") {Survey.all} | Problem only Hash returned, not objects,... nil.include?
Hello, does anybody know, how to get objects from the returned Custom Cache? Actually, everything comes back, but is only a Hash, it seems... #<Survey id: 11, uid: "006CC623A9B", targeted: "for_me", name: "ohjlj", description: "<p>kjopo</p>", startdate: "2009-05-30", enddate: "2009-05-31", status: "building", created_at: "2009-05-24 21:23:30", updated_at: "2009-05-24 21:23:30">>> @surveys.first.is_a? Survey >> falseCan anyone help me out here? Greetings Rafael