How to add child without updating updated_at in right trees
Closed this issue · 1 comments
znz commented
In after_save :move_to_new_parent
, Move
calls update_all
with updated_at = :timestamp
.
But I do not want to update another tree's items.
For example:
Before:
- 1
- 3
- 2
- 7
- 4
- 6
After:
- 1
- 3
- 2
- 7
- 8 (Added)
- 4
- 6
Update updated_at
of 2,8 are acceptable, but updated_at
of 4,6 are not desired.
How to stop to update update_at
?
stale commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.