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

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -