There are some nice mixins for adding tagging (folksonomy) functionality to your Rails applications:
Addition Resources
How to create tag clouds