Hey,
I have encountered a weird problem twice in the past 2 weeks and it's starting to piss me off.
I have this very simple code :
Rails.logger.debug "Is current_step frozen ? => #{@current_step.frozen?.inspect}"
@current_step += 1
Has you can (or not) imagine, this is what is displayed on my console :
Is current_step frozen ? => false
Completed in 264ms
TypeError (can't modify frozen object):
lib/chuguf/core.rb:44:in `upgrade'
app/controllers/xml/cheat_controller.rb:6:in `index'
Can some one tells me what's happen here ?
I can give more details if required but i don't see how other lines could be relevant. All the code is executed in the current thread.
Thanks for your help !