# Update action without model relationship

**URL:** <https://www.ruby-forum.com/t/update-action-without-model-relationship/107246>\
**Category:** Rails\
**Created:** [June 19, 2007, 5:28pm UTC](https://www.ruby-forum.com/t/update-action-without-model-relationship/107246 "2007-06-19T17:28:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rainchen](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecd19e/32.png) [@rainchen](https://www.ruby-forum.com/u/rainchen)\
**Post date:** [June 19, 2007, 5:28pm UTC](https://www.ruby-forum.com/t/update-action-without-model-relationship/107246/1 "2007-06-19T17:28:01Z")

</div>

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 ?
