I am creating a blog in Rails using the Scaffold feature. I would like to add a 'tags' field to each post like on StackOverflow and Wordpress. I can do this with a string type ( scaffold post title:string body:text tags:string
) and then comment seperated but this isn't a good practice, since I also want the reader to be able to browse by tags ( e.g. /tags/web20
or /tags/lol
). How can I do this?
Thanks