similar to: acts as taggable gem vs plugin

Displaying 20 results from an estimated 70000 matches similar to: "acts as taggable gem vs plugin"

2013 May 27
3
Ransack, acts-as-taggable-on and checkboxes in search form
need some help on ransack filtering. I have model Project, which has many tags through acts_as_taggable gem. Project.rb: class Project < ActiveRecord::Base include PublicActivity::Common belongs_to :customer belongs_to :category has_many :attachments, :as => :attachable has_many :reports, :dependent => :destroy has_many :messages, :dependent
2008 Feb 26
1
problem with posting with acts as taggable on steroids
hi all i''m trying to have a post with tags included but i''m getting undefined method `tag_with'' i''ve already added acts_as_taggable to the model and on the controller the code for creating the post is: def create @post = Post.new(params[:post]) @post.tag_with(params[:tag_list]) @post.user = current_user if @post.save redirect_to
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
2008 Dec 11
1
help needed regaring Acts As Taggable On Steroids
Hello, In my rails application, I have a book model. I want to add tags. For that I have installed acts_as_taggable_on_steroids from this link http://agilewebdevelopment.com/plugins/acts_as_taggable_on_steroids and do as the readme file. This is my Model : class Book < ActiveRecord::Base acts_as_taggable end Here is my ApplicationHelper : module
2008 Jul 12
4
Act as Taggable with Rails 2.0
I''ve posted a different question just before -- but before I can try and get a better idea of my error message, I was trying to start my application and ran into other problems. My application was developed last year in rails 1.2.3. I since upgraded my computer and have the latest version of rails. When I tried to star the application I got the following error message:
2006 Jun 22
1
acts_as_taggable gem problems
With acts_as_taggable 1.04... 1. how can I get a frequency of tags? i.e. /tags/list I want to list of tags sorted and listed with their frequency tags_controller.rb: def list @tags = Tags.find_by_sql ''select name, count(*) as freq from tags group by name order by freq desc'' End tags/list.rb: <ul> <% @tags.each do |t| %> <li><%= t.freq %>
2007 Jan 19
0
Acts_as_taggable (the gem) woes (solved)
Hi, I had to battle quite a bit to find how to load acts_as_taggable without using require_gem. where I previously had require_gem ''acts_as_taggable'' I tried replacing by the obvious gem ''acts_as_taggable'' require ''acts_as_taggable'' this failed miserably. The trick is that the acts_as_taggable module is in a file named taggable in the lib
2007 Apr 23
3
Troubles with using gems in Rails
Hi! I''m observing some problems using gem inside Rails. My understanding is that after following sequence in irb: $ irb irb(main):001:0> require ''rubygems'' => true irb(main):002:0> require ''active_record'' => true irb(main):003:0> gem ''acts_as_taggable'' => true I should have access to acts_as_tagable mixins, like:
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
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 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 Apr 26
3
acts_as_taggable gem: deleting tags
I have the following quick-and-dirty hack in my model: def after_destroy # search for orphaned tags and delete them orphans = Resource.tags_count :count => ''= 0'' orphans.keys.each {|tag| Tags.find_by_name(''tag'').destroy} end It''s nice from a readable code perspective, but it seems inefficient - is there some way to do this with only one
2008 Jan 20
2
Which taggable library do people use?
I''d like to add taggability to a model in the site I''m working on, and I wanted to get an idea of what people are using. I keep seeing that acts_as_taggable is deprecated, so I tried the acts_as_taggable_on_steroids. I also tried be_taggable. In any case, I figured I''d see what people use. thanks. -corey -- http://www.coreyhaines.com The Internet''s Premiere
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 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
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 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 Apr 01
3
acts_as_taggable, wrong number of arguments
Hello, When I try: @tagged_items = Problem.find_tagged_with :all => ''kuba'' or @tagged_items = Problem.tags_count :limit => 100 I get this error: ArgumentError in Volume#index wrong number of arguments (2 for 3) RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Mar 29
3
tagtools vs acts_as_taggable
tagtools and acts_as_taggable are both folksonomy tools for rails,any one who has used them both and can give a compare between them? Grateful! -- Posted via http://www.ruby-forum.com/.
2009 Sep 11
0
Need help with extending a plugin
hey folks I''ve installed the plugin acts_as_taggable_on_steroids (henceforth aatos), and i already have some tagging functionality set up, using the same approach (ie a Tag and a Tagging class with associated tables) as aatos. So, i want my existing Tag and Taggings methods, plus some other methods i have in a module which i include with the taggable classes (ie the ones that would call