Displaying 2 results from an estimated 2 matches for "actsastaggableon".
2010 Mar 23
0
ActsAsTaggableOn scoped to Account
Hi,
Can anybody give me some clues how to use ActsAsTaggableOn in an
Account scoped way?
ie. I want several accounts each to have their own sets of tags to tag
their own articles rather than sharing a giant pool of tags.
Or perhaps there is a better solution than ActsAsTaggableOn?
Thanks!
--
You received this message because you are subscribed to the Goog...
2010 Nov 16
15
acts_as_taggable, undefined method 'empty?'
...nywhere, so I must be doing something wrong...
I am on rails 2.3.5, and my current attempt is with
acts_as_taggable_on
I''ve generated the migration and ran it, I can add tags through my
edit view, and I can view them either from the console or as a simple
list in my index.
"include ActsAsTaggableOn::TagsHelper" is inside my application_helper
def tag_cloud
@tags = Blog.tag_counts_on(:tags)
end
is in my controller, and
<% tag_cloud(@tags, %w(css1 css2 css3 css4)) do |tag, css_class| %>
<%= link_to tag.name, { :action => :tag, :id => tag.name }, :class
=> c...