+2  A: 

I have used mbleigh's acts-as-taggable-on, and the basic procedure goes:

  1. Add config.gem "acts-as-taggable-on" to environment.rb
  2. Run rake gems:install
  3. Run script/generate acts_as_taggable_on_migration
    • Do any customizations on the migration you might want (you probably won't need to).
  4. Run the migration, rake db:migrate
  5. Add acts_as_taggable_on :your_desired_tag_names to your tagged model (pluralized).
    • I.e. Photo model has :colors tag.
    • If you are getting a NoMethodError, you may have skipped this step.
  6. To set the models tags, use photo.color_list = 'abc, 123, def, 456'
  7. Save the model: photo.save
  8. List the tags: photo.colors
    • You might have to reload the model from the database for the photo.colors method to be available.

Check out the acts-as-taggable-on readme for more instructions/examples.

Benjamin Manns
Thank you kind sir! It worked... For some strange reason when I was trying this plugin out yesterday it didn't understand when I tried to add acts_as_taggable_on :tags in the model. It threw all kinds of crazy errors and I couldn't progress past that point...I don't know what, I don't know how. But it works now and I'm really grateful for your help :)
Ganesh Shankar
A: 

Crazy World!

I also managed to get acts_as_taggable_on_steroids working today...

The missing link was that you needed to add this to ApplicationHelper:

include TagsHelper

This was mentioned in the readme but only under the "Tag Clouds" section so it wasn't clear that you needed to add it for any of the methods to be recognized in the first place...

Kudos to this blog post's comments for helping me put the pieces together: http://www.fousa.be/blog/integrating-acts-as-taggable-on-steroids-in-your-rails-app

Ganesh Shankar