search for: tuxplayground

Displaying 1 result from an estimated 1 matches for "tuxplayground".

2008 Dec 16
1
Callback when objects connect as a habtm relationship
...ctiveRecord::Base has_and_belongs_to_many :products end I want a piece of code to be executed every time a product is connected to a category. Where do I put this code? Which callback (and on which model) will be triggered? Any hints appreciated. Thanks for help. -- - Kazim Zaidi Blog: http://tuxplayground.blogspot.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this...