ruby on rails 3 - touch should not updated `updated_at` on destroy in Rails3 -
i working on touch
in rails
facing on issue here.
class user < activerecord::base belongs_to :company, touch: true end
but want should not update updated_at
of company
model when delete user other case should be. how can it?
or
is there way restrict in destroy
. because don't want on destroy
.
Comments
Post a Comment