Re: nil object in create_time_zone_conversion_attribute?

Michael Madrid
Tue, 28 Apr 2009 09:47:14 -0000

Joe Ellis wrote:
> 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?

I just upgraded to 2.3.2 on Windows 7 and am getting the error.  Using
file system gives a different error Unable to create directory, and
memcached won''t install.  Not sure what to do.
--
Posted via http://www.ruby-forum.com/.