Hello

I have been wrestling w/ the frozen hash problem in a script and I'm trying to catch this at the source where it crashes the program in flames. Unfortunately, when I look at the errors, the failure is way up in the active record ancestery chain.

Here's the first entries in the error output:

/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1877:in `[]='
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1877:in `unserialize_attribute'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1803:in `read_attribute'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1489:in `[]'

Also, I know you can test to see if a hash is frozen by using the frozen? method.

I just don't know where test and rescue this exception.

Thanks for any help!