has_and_belongs_to_many and updated_at

Hi there,

When I have a model with

has_and_belongs_to_many :keywords

and a keyword is added or removed, how can I make it to update its updated_at timestamp?

Thanks, Martin

Hi there,

When I have a model with

has_and_belongs_to_many :keywords

and a keyword is added or removed, how can I make it to update its updated_at timestamp?

Hard to say without knowing what “it” you expect to see updated.