bradphelan/rocket_tag — pull request #26 by fntzr (2012-07-18 16:13:38+00:00)
Title: add alias tags

Hi.

I made possibility to do aliases for tags.

For example.

a = RocketTag::Tag.create(:name => 'rails')
b = RocketTag::Tag.create(:name => 'ror')
c = RocketTag::Tag.create(:name => 'ruby-on-rails')
a.alias << [b, c]
#now "rails" alias for "ror" and "ruby-on-rails"
#and method "tagged_with" will return models not only with rails, but also ror and ruby-on-rails.
Model.tagged_with(["rails"])

Thanks.