I setup 3 models such as A,B,C
A has_many B
B belongs_to A
B has_many C
C belongs_to B
I found when I use C.update, then B and A also would be updated.
How to stop this affect,is there an option ?
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks