Tagging Posts(Or whatever) in rails without any gems
I've been creating a test app for a couple of weeks know, and want to have a tagging system. It would also be cool if it was polymorphic, so multiple models could have tags.
Thanks!
Question - why do you want to not be using any gems? What exactly is your goal - to have a good tagging system or to learn how to implement tagging?
Hi TRADEO
I want to do this without gems so that I get experince and learn from it. My goal is to learn how to implement one and make it good
O.K., so if you want to learn, than these resources might help you:
Otherwise, I would strongly advise you to use this:
https://github.com/mbleigh/acts-as-taggable-on
Btw, you can learn a lot if you have a look at the source code of ActsAsTaggableOn
.
Cheers