# Be\_taggable, the commercial ;)

**URL:** <https://www.ruby-forum.com/t/be-taggable-the-commercial/115015>\
**Category:** Rails\
**Created:** [September 19, 2007, 7:07pm UTC](https://www.ruby-forum.com/t/be-taggable-the-commercial/115015 "2007-09-19T19:07:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dorren](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@Dorren](https://www.ruby-forum.com/u/Dorren)\
**Post date:** [September 19, 2007, 7:07pm UTC](https://www.ruby-forum.com/t/be-taggable-the-commercial/115015/1 "2007-09-19T19:07:20Z")

</div>

=== acting troupe  
actor1 (be): be\_taggable, need to be hot and attractive.  
actor2 (acts): acts\_as\_taggable, need to be anyone but hot and  
attractive.

=== scene 1  
acts: Hi, my name is acts\_as\_taggable.  
be: Hi, my name is be\_taggable.  
acts: hmmm… never heard of.  
be: That’s ok, I can do what you do, but much easier and efficient.  
acts: oh yeah? how so?  
be: my name has only 11 letters, 5 less than yours, a 31.25%  
improvement.

_Acts laugh hysterically_  
acts: wow, I’m really impressed.  
be: _unfazed, continues calmly_  
I have just 67 lines of code, 1/10th of your size.

_Acts looking suspiciously at Be for a few seconds_  
acts: can you tag any models?  
be: yes, without creating additional join tables.  
acts: can you find by tags?  
be: you mean Tag.find\_by\_name ? yes, you can find by tags, by model  
class,  
by count, or any combination of it.

_Acts’s face gets red_  
be: plus for model tables, I added tags\_cache column to reduce DB  
traffic.  
be: Run 3 shell commands will get you started right away, no need to  
create  
tables by hand.

_Acts faint and fall back onto the ground_  
be: Did I say too much?

_Camera zoom out, blurs_  
\*Display URL [http://railers.rubyforge.org/be\_taggable](http://railers.rubyforge.org/be_taggable) \*

* * *

doc: [http://railers.rubyforge.org/be\_taggable](http://railers.rubyforge.org/be_taggable)  
code: script/plugin install  
[http://railers.rubyforge.org/svn/plugins/trunk/be\_taggable](http://railers.rubyforge.org/svn/plugins/trunk/be_taggable)  
help: [http://groups.wuyasea.com/group/ruby-on-rails](http://groups.wuyasea.com/group/ruby-on-rails)

Dorren  
[http://groups.wuyasea.com/profile/dorren](http://groups.wuyasea.com/profile/dorren)

Dorren\_was\_here\_cuz\_goog\_keeps\_losing\_my\_favorites

---

<div class="post-metadata">

**Author:** ![Dorren](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/848f3c/32.png) [@Dorren](https://www.ruby-forum.com/u/Dorren)\
**Post date:** [September 19, 2007, 7:45pm UTC](https://www.ruby-forum.com/t/be-taggable-the-commercial/115015/2 "2007-09-19T19:45:09Z")

</div>

Dorren wrote:

> === acting troupe  
> actor1 (be): be\_taggable, need to be hot and attractive.  
> actor2 (acts): acts\_as\_taggable, need to be anyone but hot and  
> attractive.
> 
> === scene 1  
> acts: Hi, my name is acts\_as\_taggable.  
> be: Hi, my name is be\_taggable.  
> acts: hmmm… never heard of.  
> be: That’s ok, I can do what you do, but much easier and efficient.  
> acts: oh yeah? how so?  
> be: my name has only 11 letters, 5 less than yours, a 31.25%  
> improvement.

Ha! 🙂
