Max Williams
2009-Sep-09 16:19 UTC
Tagging recommendation - acts_as_taggable_on_steroids best?
hey all What''s the most popular tagging plugin/gem these days? Is it acts_as_taggable_on_steroids? Or is something else better? I''d like to basically replicate flickr''s tagging as much as possible, eg allowing multi-word tags to be denoted by quotes or seperated by commas. thanks max -- Posted via ruby-forum.com.
Philip Hallstrom
2009-Sep-09 18:18 UTC
Re: Tagging recommendation - acts_as_taggable_on_steroids best?
> What''s the most popular tagging plugin/gem these days? Is it > acts_as_taggable_on_steroids? Or is something else better?Dunno. I recently (3 months ago) had to pick and went with acts-as- taggable-on. Seems to work just fine. Lets you have different "sets" of tags per model which I don''t use, but could be useful. Setting/Accessing tags is easy... just set "tag_list" in your form as a text field (assuming ''tag'' is the name of your set). Don''t remember why I didn''t go with steroids...> I''d like to basically replicate flickr''s tagging as much as > possible, eg > allowing multi-word tags to be denoted by quotes or seperated by > commas. > > thanks > max > -- > Posted via ruby-forum.com. > > >
Sandip Ransing
2009-Sep-10 09:32 UTC
Re: Tagging recommendation - acts_as_taggable_on_steroids best?
Hi I agree with phillip suggstion. @max, Don''t go with steroids as it has limitations for multiple taggings like ( tags, skills, interests ) that were extended in acts_as_taggable_on Sandip -- Ruby on Rails Developer funonrails.wordpress.com joshsoftware.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Philip Hallstrom
2009-Sep-10 15:34 UTC
Re: Tagging recommendation - acts_as_taggable_on_steroids best?
> >> Hi >> >> I agree with phillip suggstion. >> >> @max, >> Don''t go with steroids as it has limitations for multiple taggings >> like >> ( >> tags, skills, interests ) that were extended in acts_as_taggable_on >> >> Sandip >> >> -- >> Ruby on Rails Developer >> funonrails.wordpress.com >> joshsoftware.com > > Thanks for the suggestions guys. We already have some tagging in > place, > using machine tags to delineate different kinds of tagging, eg > "note:name=Eb", so i think we would stick with that system. Maybe > that''s how acts_as_taggable_on does it under the hood? Anyway i''ll > look > it that.It doesn''t. Here''s the migrations... It uses the ''context'' field. create_table :tags do |t| t.column :name, :string end create_table :taggings do |t| t.column :tag_id, :integer t.column :taggable_id, :integer t.column :tagger_id, :integer t.column :tagger_type, :string # You should make sure that the column created is # long enough to store the required class names. t.column :taggable_type, :string, :limit => 32 t.column :context, :string, :limit => 32 t.column :created_at, :datetime end
Max Williams
2009-Sep-10 15:50 UTC
Re: Tagging recommendation - acts_as_taggable_on_steroids best?
oh, that''s cool, so it just uses an optional extra field then. That''s very easy to integrate with what we have already (as is a_a_t_o_s). cheers -- Posted via ruby-forum.com.