Chris Luebcke wrote:
> Robert Matei wrote:
>> I'm getting the same error and a bit baffled.
>> 
>> For me it's happening when I've cached an array of ActiveRecord objects 
>> with Rails.cache and try to read them back. If I'm dealing with an array 
>> of integers it works fine.
>> 
>> Note that this is only happening on my development machine with whatever 
>> Rails' default caching mechanism is. In production, with Memcached, it's 
>> fine, so I just ended up installing Memcached on my development machine 
>> and it worked fine.
> 
> That was exactly my experience, except that I'm a bit of a n00b with RoR 
> (though not other development) and figured I must be doing something 
> wrong. Hours and hours later I finally realized that, no, Rails.cache in 
> 2.2.2 (at least) is failing to either store or retrieve ActiveRecord 
> objects.
> 
> Five minutes after reading this I had memcached installed locally and 
> all my problems were solved.

I had the same problem, and same solution.  But I just recently upgraded 
to 2.3.2 and everything seems to work fine.  I suppose whatever it was 
got fixed?
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to