I\'m using ruby on rails 2.3.2 and also using the acts_as_taggable_on puglin. That generated me two db tables: tags and taggings.
Having sorted th开发者_Python百科e tag_counts hash via the following code: sorted_tags = Contact.tag_counts.sort{ |x,y| x.name.downcase <=> y.name.downcase }
I have tried to destroy tags from the given code but it\'s not working. How can it be accomplished? 开发者_运维知识库 @tag = Tag.find_by_name(params[:name])
Or rather I don\'t know how to specify the route for it. I have my controller setup us: def tags @clients = current_user.clients.find_tagged_with(params[:开发者_StackOverflowtag])
I installed Sphinx and Thinking-Sphinx some days ago on my ruby on rails 2.3.2, and basic searching works great. This means, without any conditions. Now, I want to filter the search with some conditio
I installed Sphinx and Thinking Sphinx for ruby on rails 2.3.2. When I search without conditions search works ok. Now, what I\'d like to do is filter by tags, so, as I\'m using the acts_as_taggable_o
I am using acts_ as_ taggable_on in my app and have it working perfectly however I am looking for information on how to make one modification.
If I have my website logically split into开发者_开发百科 accounts (eg. acme.mywebsite.com, xyz.mywebsite.com), how can I implement act-as-taggable-on-steroids and have the tags scoped by the current a