=== acting troupe
actor1 (be): be_taggable, need to be hot and attractive.
actor2 (acts): acts_as_taggable, need to be anyone but hot and
=== 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%
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
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
be: Run 3 shell commands will get you started right away, no need to
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 *
code: script/plugin install