Acts_as_taggable and tag list


#1

Hi,

I’m using the new acts_as_taggable on Rails 1.1.1. I would like to get
a list of all the tags for a particular model type, in my case “Post”.
I got it to work with:

Tag.find(:all,:include => :taggings, :conditions =>
“taggable_type=‘Chunk’”)

But I’m wondering if there’s a more Rubyish elegant way.

thanks, scott.


What’s an Intel chip doing in a Mac? A whole lor more that it’s ever
done in a PC.

My Digital Life - http://scottwalter.com/blog
Pro:Blog - http://scottwalter.com/problog