Rails to get native tagging support?

From the Rails Weblog:

Demetrius Nunes has a very cool acts-as mixin ready for you in a single line. It allows you to do stuff like:


class Photo < ActiveRecord::Base
  acts_as_taggable
end

elephant = Photo.find(4437)
elephant.tag 'zoo animals nature'

elephant.tagged_by?('urban') # => false
elephant.tags.size # => 3
elephant.tag_names => [ 'zoo', 'animals', 'nature' ]

Good thing we just equipped typo with tagging support all by hand! cough

Filed Under: Rails