Just found out that "pops" callbacks simply do not work.
for example:
class Sale
  has_many :pops, :dependent => :destroy
end

class Pop
  before_destroy :do_something
end

if I destroy a sale that has a pop associated, before_destroy from Pop 
is not called.

why that happens?
-- 
Posted via http://www.ruby-forum.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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to