tag statistics with rails
Posted
by poseid
on Stack Overflow
See other posts from Stack Overflow
or by poseid
Published on 2010-04-17T17:27:11Z
Indexed on
2010/04/17
17:33 UTC
Read the original article
Hit count: 244
I am using the plugin:
http://github.com/karmi/is_taggable
How can I perform simple statistics on my tags, e.g. what's the most used tag? which tags are not used, etc.?
With SQL I would do something like:
select id, count(*) from taggings group by taggable_id;
But I am not seeing how to do this with the plugin.
Thanks!
© Stack Overflow or respective owner