Displaying 20 results from an estimated 10000 matches similar to: "acts_as_taggable in Rails 1.1 question"
2006 Mar 28
2
add_limit (in acts_as_taggable) breaks in 1.1, solution?
Upgraded from Rails 1.0 to 1.1 and found that the (slightly modified)
acts_as_taggable plugin breaks. The line
add_limit!(sql, options)
(in the tags_count method) causes this error
wrong number of arguments (2 for 3)
The documentation still says it takes two args, so I''m not sure what''s
wrong. Adding
logger.info("SQL here: " + sql)
2005 Oct 17
0
acts_as_taggable and per-user tags
I''m trying to add per-user tags to a simple app built atop the
tiny_file example code, as follows:
-------------------------------------------------------------------------------------------------
sqlite> .schema
CREATE TABLE resources (
id INTEGER PRIMARY KEY,
filename VARCHAR(255),
user_id integer
);
CREATE TABLE ''tags'' (
''id'' INTEGER
2006 Jul 20
0
acts_as_taggable
Hi,
I have added acts_as_taggable to one of my models called Picture, I then try
to pick up some tags through the following code:
user = User.find(session[:user_id])
photo = Picture.new(@params["picture"])
>> photo.tag(@params["picture_tags"]) <<
user.pictures << photo
I''m trying to use the acts_as_taggable plugin, but I''m finding that my
2006 Jul 21
1
help appreciated on acts_as_taggable issue
Hi,
I have added acts_as_taggable to one of my models called Picture, I then
try to pick up some tags through the following code:
user = User.find(session[:user_id])
photo = Picture.new (@params["picture"])
>> photo.tag(@params["picture_tags"]) <<
user.pictures << photo
I''m trying to use the acts_as_taggable plugin, but I''m finding that
2006 Jan 22
2
acts_as_taggable: weird SQL problem with untagging
Setup as follows:
class Resource < ActiveRecord::Base
belongs_to :user
validates_presence_of :filename
validates_uniqueness_of :filename, :scope => "user_id",
:message => "already exists, try uploading another file or deleting first."
acts_as_taggable :join_class_name => ''TagResource''
2006 Jul 18
0
acts_as_taggable problem with saving tags.
Hi,
I have the following code:
user = User.find(session[:user_id])
photo = Picture.new(@params["picture"])
>> photo.tag(@params["picture_tags"]) <<
user.pictures << photo
I''m trying to use the acts_as_taggable plugin, I''m finding that my tags
table is not getting the tags saved for the above line in question (>>
... <<).
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
2005 Dec 24
0
acts_as_taggable - adding users and normalizing tags
Hey all,
I''m wondering how people are using acts_as_taggable. Two things I''d
like to do that aren''t supported out of the box are tag normalization
and user attribution. I can''t imagine I''m the first to think about
doing this.
>From a schema perspective these things both seem simple, just put the
normalized tag in the tags table, and have a join
2006 Apr 10
2
acts_as_taggable with only 1 taggings table
I was reading rails recipes and it shows how to use acts_as_taggable
with only 2 tables, a tags and a taggings table.
But I think that its related to an older acts_as_taggable version
because now it seems that it works with one tags table and one taggings
table for each tagable model, like this:
tags
photos
tags_photos
Which means I need one new table for each model I want to tag.
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 Apr 03
0
Re: acts_as_taggable can not be used under 1.1
acts_as_taggable is working fine for me on 1.1.
i''m getting acts_as_taggable from svn
(http://dev.rubyonrails.com/svn/rails/plugins/acts_as_taggable/), installing it
into /vendor/plugins/acts_as_taggable
> If the acts_as_taggable plugin has been installed via ruby script/plugin
> install acts_as_taggable while not acts_astaggable gem installed via gem
> install
2006 Aug 07
3
Acts_as_taggable / Rails Recipes bug?
I''m following the acts_as_taggable chapter from the Rails Recipes book.
I want my view form to have a text_field that correlates to an attribute
in the Model that accepts a string of space delimited tags. The book
uses tag-_list, but from what I can tell this attribute can''t be written
to. I''ve added this to the plugin code itself - am I missing something,
is there a
2006 Sep 12
1
acts_as_taggable -- which one?
There appear to be three acts_as_taggable implementations and I''m looking for
a recommendation on which to use.
- Gem
- DHH plugin
- Dema mixin
The Gem implementation appears to be obsolescent, from what I can read on
the lists and Google search.
I like that the DHH plugin uses polymorphic associations because there will
be lots of different taggable items in my application; however,
2006 Apr 03
2
It seems that acts_as_taggable can not be used under 1.1?
If the acts_as_taggable plugin has been installed via ruby script/plugin
install acts_as_taggable while not acts_astaggable gem installed via gem
install acts_as_taggable,it seems that the plugin can not work at all
under the rails 1.1 enviroment.According to
http://wiki.rubyonrails.org/rails/pages/ActsAsTaggablePluginHowto
the plugin should work under edge rails,but when the 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 Oct 09
3
How could acts_as_taggable work with ferret?
Suppose that acts_as_taggable need three models: Tag, Tagging, Article
Could tag search be realized using acts_as_ferret?
Suppose tags:"a","ab","abc",If i wanted to get all the articles with tag
name including "a", Could ferret satifisy this requirement?
--
Posted via http://www.ruby-forum.com/.
2006 Aug 10
2
search acts_as_taggable for multiple tags
Hey...I''m trying to search a Model that uses acts_as_taggable for multiple tags. I''d like to pass in a search string containing a space delimited tags names (i.e. "tag1 tag2") and return the objects that have been tagged by either one of those. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
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/.
2007 Oct 24
3
acts_as_taggable
Hello All,
I have a table for which i need to tag and i am applying
acts_as_taggable for that
I have a table called localities and I created a table called tags
and tags_localities ,Now my requirement is i need to create new tags
and i should be able to add sub tags to the new tags
So its basically applying Tagging on tags agian
can any one give me a idea of how can i do this
2006 Mar 23
0
acts_as_taggable and deleting tags
with act_as_taggable plugin, anyone know how to make tags dependent on the model
they''re tagging, so the tags are deleted if the model is? i see that taggings
are deleted, but the tags themselves aren''t.
in acts_as_taggable.rb, i tried changing this line:
has_many :tags, :through => :taggings
to mirror the has_many definition for taggings, like so:
has_many :tags, :through