has_and_belongs_to_many and updated_at

29 views
Skip to first unread message

Martin

unread,
Jan 23, 2014, 11:46:03 AM1/23/14
to rubyonra...@googlegroups.com
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

Rick

unread,
Jan 24, 2014, 9:53:40 AM1/24/14
to rubyonra...@googlegroups.com

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

Thanks,
Martin
Reply all
Reply to author
Forward
0 new messages