Displaying 20 results from an estimated 100000 matches similar to: "acts_as_taggable or related plugin"
2006 Apr 28
1
acts_as_taggable help
Ahoy, having a bit of difficulty w/ the acts as taggable GEM.
I was able to create a tagcloud, but now i want to filter items by tags.
in my controller i have
def show_tagged_with
<-- snip snip -->
@items = Item.find_tagged_with( :any => params[:tag_name])
@categories = Category.find_all
@tag_name = params[:tag_name]
@tagged_items = Item.tags_count(:limit
2006 Feb 13
1
acts_as_taggable scoped in another class/table?
I''m hoping someone more familiar with DHH''s acts_as_taggable plugin
can help me out here...
Tags being all the rage, and the subject of a good recipe in the
forthcoming Pragmatic Rails Recipes book, I decided to give them a
try. However, from what I can tell, they''re kind of application-wide
by design. I know the social thing is hot, but I need my tags to be
2007 Apr 23
1
Find related tags with acts_as_taggable
Using the acts_as_taggable plugin, how can I go about finding related
tags? ie specify a tag, find objects that have that tag, and then count
up its other tags and return say, the top 50 or something, in a method
something like Tag.find_related_tags(tag_object)
I think the gem has a method like this but the gem hasn''t been updated
if I''m not mistaken doesn''t use
2006 Mar 28
1
acts_as_taggable plugin to tag multiple fields in a model
Hello,
Is it possible to tag multiple fields in a model using either
acts_as_taggable plugin or gem? If it is not possible out of the box, can
anyone provide pointers on how I would achieve something like that?
Say I have a ''Food'' model which has ''spices'' and ''healthiness'' attributes.
I want to be able to tag on both those fields. Is that
2006 Dec 26
0
acts_as_taggable Plugin issue (not gem)
I tried to post this earlier, but it never came through. I''ve got
something working in console, but not in controller. Any idea why?
This is the plugin not the gem of acts_as_taggable
*View*
<code>
<h1>Listing elements</h1>
<% if @elements.blank? %>
<p>There are currently no elements in the system tagged <%=
2006 Feb 16
1
[PATCH] acts_as_taggable plugin
hi,
I started today to use the acts as taggable plugin and it''s working as
expected.
I added a method find_tagged_with_all since I needed to find the
elements tagged with all the items in a list while find_tagged_with
finds all the elements tagged with any of the list terms.
Attached to this mail there''s a patch which adds the
find_tagged_with_all method and which solves a
2006 Jun 30
0
find_by_sql not quoting properly (in acts_as_taggable plugin)
I have run into a very strange problem discovered through the use of
the acts_as_taggable plugin, but related to quoting/sanitizing the
interpolated list in a find_by_sql. Apologies for the length, but I
wanted to be complete. ;-)
The method from acts_as_taggable.rb is:
def find_tagged_with(list)
find_by_sql(["SELECT #{table_name}.* FROM #{table_name},
tags,
2006 May 07
0
acts_as_taggable plugin, duplicate entry
I just switched from using gems to the plugin. How can I prevent
duplicate entries tags or remove tags on an update. The following did
the trick when I was using gems. But does not work with the plugin.
@entity.tag(params[:tags], :clear => true)
Thanks
--
Posted via http://www.ruby-forum.com/.
2006 Jun 16
4
duplicate entry issue in acts_as_taggable gem
Hi,
I am using the ''acts_as_taggable'' gem and have issues when I try to
''tag'' an entity with a ''tagname'' already defined.
i.e
1) book[1].tag(''science'',''paperback'') --> works fine
2) book[2].tag(''roman'',''physics'',''paperback'') --> creates an
2006 Feb 17
1
acts_as_taggable plugin and multi word tags
I decided to play with the plugin acts_as_taggable based on Chad
Fowler''s book Rails Recipes. Is it just me or can tags only be one
word? If not can you explain to me how to assign multi-word tags
using the acts_as_taggable plugin.
Thanks :-)
John Kopanas
http://www.kopanas.com
=====================================================================
http://www.soen.info - source
2006 Nov 21
0
Observer + acts_as_taggable plugin = dead app
so i have found that if i try to place an observer on a model that is
using the acts_as_taggable plugin, my app will not start up. this is
what i get in the mongrel startup log
/Applications/Locomotive2/Bundles/rmagickRailsSept2006_ppc.locobundle/framework/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1129:in
`method_missing'': undefined local variable or method
2006 Nov 11
0
acts_as_taggable plugin - paging through tagged model
Hi,
I''m using the acts_as_taggable plugin & wanted to page through all a
model''s records taggged with a particular tags.
i.e. page through all Model records that have been tagged with "artist"
I could not work out how to do this with the plugin, so I made the
changes outlined below.
Did I need to do this..? & does anyone else find this useful?
2006 Jun 02
1
Sorting records from acts_as_taggable plugin
I am using the acts_as_taggable plugin, which works rather nicely by the
way. My question is this: When using find_tagged_with, how do I sort the
resultant data? It is currently sorting based on the "id" of the record.
For instance, I have posts, with tags. If I want to find all posts
tagged with "RubyOnRails" it displays them, but not in chronological
order, they are
2006 Jun 06
0
acts_as_taggable Plugin Docs
Hey!
I did a write-up on DHH''s acts_as_taggable plugin. Its a plugin in need
of more encomapassing documentation, so please, check out the post at my
blog and feel free to comment extensively :]
The post can be viewed here:
http://rails.co.za/articles/2006/06/04/acts_as_taggable-plugin-docs
Thanks a lot to mr. DHH for his excellent plugin!
Ciao!
Gustav Paul
gustav@rails.co.za
2006 Feb 07
1
acts_as_taggable plugin question
Hi
I am not sure whether this is the appropriate forum to ask a newbie question about acts_as_taggable plugin.
I have installed the plugin on the server and included it in my script as per readme. However, no tags are saved.
Another question is, is it possible for the users to edit the tags they have created. ?
Thanks
2009 Jan 08
1
Which "acts_as_taggable" plugin is the best?
Hi all,
I want to implement tagging for my resources, but I found lots
"acts_as_taggable" available: "acts_as_tabble", "acts_as_taggable_on",
"acts_as_taggable_on_steroid", etc. Some of them are not in active
development, and I do not know which one is more popular. So, any
suggestions? Thanks in advance!
Difei.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 11
5
acts_as_taggable : plugin vs gem
Googling for acts_as_taggable is a little confusing: gem, plugin?!
What are the differences?
Which one to choose?
Where is the best doc?
Alain
2006 Jul 14
5
Acts_As_Taggable Plugin multiple controllers.
I have Acts_As_Taggable Plugin working. I have a HR controller and a
sales controller.
I have a document in hr tagged whitepaper and a differnent document in
sales tagged whitepaper
when I am in hr I see the hr document tagged with whitepaper and not
the sale document (what I want). but if I click on the tag whitepaper
I return two documents, hr and sales. I just want to return the hr
document
2006 Feb 07
1
acts_as_taggable plugin: more delimiters?
I''m going through the Recipes book and got to the Tagging chapter,
wanted to give it a shot. According to the text, tag_with takes a
space-delimited list of tags. Is there a way to use different
delimeters, such as commas or single quotes? Some tags can
potentially have more than one word, such as ''ice cream''. I''d like to
be able to use those without doing
2006 Jan 29
1
Why am I getting "undefined local variable or method `acts_as_taggable''"?
Hello,
I recently installed acts_as_taggable using the following command:
gem install acts_as_taggable
# output follows
Attempting local installation of ''acts_as_taggable''
Local gem file not found: acts_as_taggable*.gem
Attempting remote installation of ''acts_as_taggable''
Updating Gem source index for: http://gems.rubyforge.org
Successfully installed