Once I destroy a User I am able to make some destroy dependencies
about what to clean up after him,
but with comments it doesnt work, since they belong not to the user
but the other guy where we left them.

Speaking code:
  # Comments and Blogs
  has_many :comments, :as => :commentable, :order => 'created_at
desc', :dependent => :destroy
--> does delete the comments left on my profile BUT doesnt delete the
comments i left on other peoples profiles.

How can I delete all comments I made?

Cheers
Thomas

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" 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/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to