I’ve dug through the code and bit and cannot figure out how or why this
is, but between Rails 2.1 and 2.3.2.1 production ActiveResource objects
became frozen upon retrieval.
so:
class Resource < ActiveRecource::Base
def my_thing @my_thing ||= Finder.find_by_something( self.a_thing )
end
Shoot, it looks like we have some Rails.cache being called. I think I
noticed objects pulled out of memcache being frozen. Is there a reason?
Who knows.
On Fri, 2009-05-15 at 15:54 -0400, Matthew B. wrote:
In 2.1 returned objects were not frozen, and in 2.3.2.1’s development
mode they are not. Disabling caches didn’t help.
Is it something from the LibXML/Nokogiri move? Anyone else using
ActiveResource on 2.3.2.1?