Forum: Ruby on Rails acts_as_taggable : plugin vs gem

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
0091f92762685860109bbcb02edfdf27?d=identicon&s=25 Alain Ravet (Guest)
on 2006-02-11 06:21
(Received via mailing list)
Googling for acts_as_taggable is a little confusing: gem, plugin?!

What are the differences?
Which one to choose?
Where is the best doc?

Alain
42172acdf3c6046f84d644cb0b94642c?d=identicon&s=25 Pat Maddox (pergesu)
on 2006-02-11 06:40
(Received via mailing list)
plugin requires Rails 1.1, so unless you're running Edge it won't
work.  Also, there is no documentation as yet.

Gem works on 1.0.  It has some documentation, but as far as I can tell
the real meat of the docs was
(http://dema.ruby.com.br/articles/2005/09/03/taggin...)
which unfortunately doesn't seem to exist anymore.  I'd love to be
shown otherwise, I only started checking out acts_as_taggable a few
days ago.

They work pretty much the same, but are implemented differently.
plugin is eaiser to configure since it's one line to make it works,
and seems simpler to use in general.

Bottom line, if you're not using Edge you can't even use the plugin
now anyway...when Rails 1.1 comes out you should be able to convert it
all somewhat easily using migrations.

Pat
3f900b38ec3b2c45427c354722fa4ce3?d=identicon&s=25 Tom Fakes (tomfakes)
on 2006-02-11 07:28
(Received via mailing list)
The current code and documentation for acts_as_taggable gem is here:
http://rubyforge.org/projects/taggable/

It is very confusing that someone came up with a plugin of the same name
instead of taking the existing code and changing the implementation of
the
pre-existing gem code.

Two completely different instances of acts_as_taggable will only cause
pain
down the road.

My cloud code (the second link of a Google search for acts_as_taggable!)
has
only been tested with the Gem code.
B45eab4f18aa1bb2a44d6e657531a642?d=identicon&s=25 Alain Ravet (aravet)
on 2006-02-12 22:38
Tom Fakes wrote:
   > It is very confusing that

So, what's the verdict?
Which one has the best future?
Which one has the best features?

Alain
D2eaa0f268843d5d3f5d92823cf1308a?d=identicon&s=25 Michael Yacavone (Guest)
on 2006-02-12 23:38
(Received via mailing list)
> So, what's the verdict?
> Which one has the best future?
> Which one has the best features?

The plugin was written by DHH, so that's probably the future. There
are basic docs in the new Pragmatic Rails Recipe's beta book. It is
confusing, agreed.
3f900b38ec3b2c45427c354722fa4ce3?d=identicon&s=25 Tom Fakes (tomfakes)
on 2006-02-13 01:50
(Received via mailing list)
I would go with the GEM right now because it works with any Rails
version,
is documented, and people have experience with it.

In 3 months time, this may change.
This topic is locked and can not be replied to.