Here is my form: 1 <%= semantic_form_for @vendor do |f| %> 2<% f.inputs do %> 3<%= f.input :name %>
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?
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:
I\'m trying to search through a model for all records with a certain tag. Sample output we are trying to search:
I\'m having trouble understanding how the \"tagged_with\" method would work in the case where I wanted to search \"by context\".
I\'m confused with how the flags :on and :any works together in the \"tagged_with\" method of acts_as_taggable_on.
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
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
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:
I have a list of products, which belong to a category.Each product has tags. See following example (psuedocode)