For me a similar error was: with update_attributes it runs all ‘before_save’ filters before actually updating–I had a filter that was nuking the very attribute I was trying to change [by calling reload].
Hi, I am trying to find a way tp update attributes in a habtm association.
It also has a Model class, which habtm join tables don't, so its table name corresponds to its model name in the usual fashion, rather than being constructed from names of the tables it is joining.
As soon as you allow users to enter data into your system, you need to validate the input to ensure that the saved data is consistent.
In order to achieve this, we want to make as many small changes as possible that can already be applied to the old application version and merge them into the master branch as early as possible.