[ANN] acts_as_taggable v4 - Tag Counting Anyone?

D

Dema

There´s already a new version of the acts_as_taggable mixin available
and look what it is capable of now:

# Gets the top 10 tags for all photos
Photo.tags_count :limit => 10 # => { 'beer' => 68, 'wine' => 37,
'vodka' => '22', ... }

# Gets the tags count that are greater than 30
Photo.tags_count :count => '> 30' # => { 'beer' => 68, 'wine' => 37}

More about it here:
http://dema.ruby.com.br/articles/2005/09/06/tag-counting-anyone

I promise this is the last release of the week. ;-)

Cheers,
Demetrius
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,436
Messages
2,571,696
Members
48,796
Latest member
Greg L.
Top