Hi,
I'm doing a blog in CakePHP, so I have two tables in my database that are HABTM related: posts and tags. Because they are HABTM related I also have a poststags table keeping track of relations.
I'd like to have a method in my tags_controller that will delete all unused tags.
How do I find all tags that are NOT associated with any posts?