class AddTagSupport < ActiveRecord::Migration
def self.up
create_table :tags, :force => true do |t|
t.column :name, :string
end
create_table :taggings, :force => true do |t|
t.column :tag_id, :integer
t.column :taggable_id, :integer
t.column :taggable_type, :string
t.column :created_at, :datetime
end
end
def self.down
drop_table "tags"
drop_table "taggings"
end
end
If you do decide to go with the older, more depreciated plugin acts_as_taggable, you can achieve tag clouds as shown here.