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

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -