Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: junglecrow
I succesfully implemented a tag cloud in Ruby, from scratch. Excellent tutorial!
Now I would like to make my tag cloud more dynamic, so that it allows you to narrow down listings.
On my photoblog, each photo has several tags. Once you click on a tag, say "Tokyo", all photos tagged with "Tokyo" are listed. I now want to add two things:
* I want the tag cloud to be updated and display only tags associated to the remaining photos, the "Tokyo" subset.
* When you click on a tag in this subset-tag cloud, say "2008", I want all photos to be listed that are tagged with "Tokyo" and "2008" (instead of all photos tagged with "2008").
I have been trying to implement this for days, no luck so far. I'm new to Ruby so any help will be much appreciated!