search for: acts_as_taggable_on

Displaying 11 results from an estimated 11 matches for "acts_as_taggable_on".

2010 Apr 27
0
undefined method 'each' in acts_as_taggable_on with rails 3 beta 3 and ruby 1.9
Hi I am trying to use acts_as_taggable_on in my new projects. But I got Error when I try to save tags. undefined method `each'' for "[]":String NoMethodError: undefined method `each'' for "":String from C:/Ruby19/lib/ruby/gems/1.9.1/gems/ activerecord-3.0.0.beta3/lib/active_record/associations...
2010 Jun 24
0
Using searchlogic with acts_as_taggable_on
Hi, i have 2 model, Merchant and Items and using acts_as_taggable_on Merchant has_many Items, and i try to find Merchant with search logic including the tags class Merchant < ActiveRecord::Base acts_as_taggable has_many :items end class Item < ActiveRecord::Base acts_as_taggable belongs_to :merchant end This works >> Merchant.tagged_with(...
2009 Feb 27
2
Getting unique entries from models?
I''m using acts_as_taggable_on and I want to get a list of unique taggings. How can I do this? In a more general sense, say that I have a Product model with attributes name and price. I have these: id: 1 Name: Juice Price: 5 id: 2 Name: Juice Price: 5 So when I do a Product.find(:all) I''ll get both, but I only want o...
2008 Oct 02
1
acts_as_taggable_on environment issues
...otifications /Users/mark/Documents/Feedback Games/development/tidbitz/vendor/rails/ railties/lib/commands/runner.rb:47: /Users/mark/Documents/Feedback Games/development/tidbitz/vendor/rails/activerecord/lib/active_record/ base.rb:1667:in `method_missing_without_paginate'': undefined method `acts_as_taggable_on'' for #<Class:0x20e1f08> (NoMethodError) from /Library/Ruby/Gems/1.8/gems/mislav-will_paginate-2.3.4/lib/ will_paginate/finder.rb:164:in `method_missing'' from /Users/mark/Documents/Feedback Games/development/tidbitz/app/ models/tidbit.rb:3 from /Users/mark/Documents/Feedba...
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/. --~--~---------~--~----~------------~-------~--~----~ You receive...
2009 Sep 09
4
Tagging recommendation - acts_as_taggable_on_steroids best?
hey all What''s the most popular tagging plugin/gem these days? Is it acts_as_taggable_on_steroids? Or is something else better? I''d like to basically replicate flickr''s tagging as much as possible, eg allowing multi-word tags to be denoted by quotes or seperated by commas. thanks max -- Posted via http://www.ruby-forum.com/.
2010 Nov 16
15
acts_as_taggable, undefined method 'empty?'
I''ve tried out ''acts_as_taggable'', ''acts_as_taggable_on'' and ''acts_as_taggable_on_steroids'' and all of them output "undefined method ''empty?''" with the tag_cloud action. I am following the guides precisely. Yet I can find no references to this error anywhere, so I must be doing something wrong......
2011 Mar 15
1
Acts as taggable on ( tag ownership question )
From the acts as taggable doc I seeTag Ownership Tags can have owners: class User < ActiveRecord::Base acts_as_tagger end class Photo < ActiveRecord::Base acts_as_taggable_on :locations end @some_user.tag(@some_photo, :with => "paris, normandy", :on => :locations) @some_user.owned_taggings @some_user.owned_tags @some_photo.locations_from(@some_user) but I would like to be able to do something like @some_photo.tagged_with("xxx,...
2012 Apr 27
1
Can't mass-assign protected attributes even if I use attr_accessible
Hi, I''m working on a Rails 3.2.2 application which has JSON APIs and I use a CLI client for inserting some data. It works fine except for the Author model. When I try to create a new post (Post belongs_to :author and Author has_many :posts) I get the following error : <h1> ActiveModel::MassAssignmentSecurity::Error in PostsController#create </h1>
2009 Jan 02
5
Very odd NoMethodError/stack overflow....
I''m getting this very weird error and I can''t figure out what the problem is. I''m using acts_as_commentable. Basically, I have a partial with this code in it: <div id="<%= ''#{comment.commentable_type}_comment_# {comment.commentable_id}'' %>" class="comment"> <dl> <dt><%= link_to comment.user.login,
2012 Apr 03
4
one master table to hold symbols: good or bad idea?
(This is may be more of a db design question than a rails question.) Summary: I''m thinking of creating a single AR class to hold constant symbol values and use it for :has_many_through relations whenever I need a constant symbol. Is this a good idea or a bad idea? Details: I notice that I have a lot of models that contain just a name string: create_table