similar to: acts_as_taggable problem with saving tags.

Displaying 20 results from an estimated 20000 matches similar to: "acts_as_taggable problem with saving tags."

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 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
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
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 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:
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)
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 Feb 28
0
acts_as_taggable in Rails 1.1 question
I''ve been using the acts_as_taggable gem in 1.0 to develop some tagging functionality. The issue is that I need to specify tags by user (i.e. update additional attributes in the join table). So, in my join table I have a "user_id" field. I''ve read about the "push_attribute" method in the api, but that doesn''t seem to work with the gem (and
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 17
6
acts_as_taggable confused
Ahoy, So i''ve installed the acts_as_taggable module and everything is fine, but i''m a bit confused about this bit of code described in the API "photo = Photo.new # splits and adds to the tags collection photo.tag "wine beer alcohol" # don''t need to split since it''s an array, but replaces the tags collection # trailing and leading
2005 Sep 06
9
acts_as_taggable v4 - Tag Counting Anyone?
ThereĀ“s already a new version of the acts_as_taggable mixin available and look what it is capable of now: # Gets the top 10 tags for all photos Photo.tags_count :limit => 10 # => { ''beer'' => 68, ''wine'' => 37, ''vodka'' => ''22'', ... } # Gets the tags count that are greater than 30 Photo.tags_count :count =>
2006 Jun 28
2
acts_as_taggable multiple tags lists
Hi All, I''m trying to implement acts_as_taggable (plugin) in my application. The application has multiple object types, for each type I would like a different tags list. Also, the lists will be defined by an administrator and act as a list of value where the user can select a tag. For example: Lets assume that we have ObjectTypeA and ObjectTypeB as models in my application. I want
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
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 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 Jan 30
1
acts_as_taggable => error: undefined method ''tag''
I get an "undefined method ''tag''" when I try to use the acts_as_taggable. Note that it''s not the issue of bouncing webrick after changing the environment.rb file. (I stumbled on that too... :-( ). I read all the doc I could find (on this site, on http://rails.techno-weenie.net and at http://taggable.rubyforge.org/) but I couldn''t find anything I
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 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
2012 Feb 12
0
WATCH Wolverhampton Wanderers vs West Bromwich Albion LIVE STREAMING ONLINE English Premier League S
Watch Live Streaming English Premier League Soccer Match between hot favorite Wolverhampton Wanderers vs West Bromwich Albion Online HQD TV Link on Your PC or Laptop. We are providing a certified 4500 Channels & one platform HD TV link embedding from popular website like justin.TV, ustream, live on Fox Sports, ESPN live TV channel, Fox spots in USA, Fox Sports in UK, Australian TV channel,
2006 Apr 03
5
Newbie question about acts_as_taggable
I installed the acts_as_taggable plugin that DHH wrote. Now I have met problems on using it: class Book < ActiveRecord::Base acts_as_taggable end mybook = Book.new mybook.tag_with(''red library book'') But the system tell the wrong message: undefined method `parse'' for Tag:Class d:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.0/lib/active_record/base.rb:1123:in