[Rails] Can't modify frozen hash memcached

2012-09-18 Thread Tales Marchesan Chaves
Hi all, I was starting to implement caching with memcached in one of our projects that still uses Rails 2.3 (yes, still). As Rails only caches Active Record objects for one request, I thought of caching them on memcached. For that, I've defined a method that intercepts the find method of Active R

Re: [Rails] Can't modify frozen hash

2010-10-02 Thread Luke Cowell
Your code freezing on the self.target.save line, made me think you had a before_save filter. The Building.find(1008631573) freezing makes me think that there's something un-vanilla about your rails install. Try removing all plugins, gems and any initializers that you have and see if the proble

[Rails] Can't modify frozen hash

2010-10-02 Thread Heinz Strunk
Hello, eversince I switched to Rails 3 I keep getting following error: RuntimeError: can't modify frozen hash This is the affected line: self.target.save target is a polymorphic relation and never caused any problems before. I added an output for the frozen hash to get the ID of it and fired up

[Rails] can't modify frozen hash

2009-06-20 Thread skumar
Hi, When I upgraded my rails application to rails 2.3.2 I am getting error 'can't modify frozen hash' on using @something.update_attribute(params[:something]). Can anyone help me who is familiarize with this bug? Thanks, --~--~-~--~~~---~--~~ You received this me

[Rails] can't modify frozen hash when upgrade to rails 2.3.2

2009-06-20 Thread skumar
Hi, When I upgraded my rails application to rails 2.3.2 I am getting error 'can't modify frozen hash' on using @something.update_attribute(params[:something]). Can anyone help me who is familiarize with this bug? Thanks, --~--~-~--~~~---~--~~ You received this me

[Rails] can't modify frozen hash when upgrade to rails 2.3.2

2009-06-20 Thread sadeesh
Hi, When I upgraded my rails application to rails 2.3.2 I am getting error 'can't modify frozen hash' on using @something.update_attribute(params[:something]). Can anyone help me who is familiarize with this bug? --~--~-~--~~~---~--~~ You received this message bec