acts-as-taggable-on
How can I input tags through a form (using acts_as_taggable_on) and Rails 3
Here is my form: 1 <%= semantic_form_for @vendor do |f| %> 2<% f.inputs do %> 3<%= f.input :name %>[详细]
2023-02-26 19:51 分类:问答Callback with Acts-As-Taggable-On: Undefined method in Rails 3, works beautifully in Rails 2.3
Does anyone know why this callback method would work in Rails 2.3.x / Ruby 1.8.7 but not in Rails 3.0.x / Ruby 1.9.2?[详细]
2023-02-26 07:10 分类:问答acts-as-taggable-on and select fields
I\'m using the ActsAsTaggableOn gem for Rails 3.0 and everything works fine. Now I\'m trying to speed up some queries selecting only some fields with ActiveRecord:[详细]
2023-02-25 10:39 分类:问答Searching with acts_as_taggable_on
I\'m trying to search through a model for all records with a certain tag. Sample output we are trying to search:[详细]
2023-02-25 01:21 分类:问答How to search by context using acts-as-taggable-on
I\'m having trouble understanding how the \"tagged_with\" method would work in the case where I wanted to search \"by context\".[详细]
2023-02-22 07:52 分类:问答Does the :any flag overwrites the :on (context) flag in acts_as_taggable_on's tagged_with?
I\'m confused with how the flags :on and :any works together in the \"tagged_with\" method of acts_as_taggable_on.[详细]
2023-02-22 02:56 分类:问答Search form with acts_as_taggable_on (Rails 3)
I have a searchbox to search for products.Each product has a title and is tagged with multiple tags. I want to be able to search for products by title or tag.In other words if I have a product called[详细]
2023-02-12 16:31 分类:问答acts_as_taggable_on with permissions required to create new tags
How can I prevent users from adding new tags which don\'t already exist in the tags db? I want them to be able to add any tags that already exist to another model which they can fully edit, but not b[详细]
2023-02-11 01:31 分类:问答Rails link_to with acts_as_taggable_on_steroids
I am using acts_as_taggable_on steroids and I am having problem with this piece of code that generates a link to a tag:[详细]
2023-02-10 23:35 分类:问答acts_as_taggable_on with a collection
I have a list of products, which belong to a category.Each product has tags. See following example (psuedocode)[详细]
2023-02-05 09:47 分类:问答