acts-as-taggable-on Questions

1

Solved

So I have been playing around with acts_as_taggable_on in active admin, and for the most part everything is working as expected. However, whenever I search for tags, and add an existing tag to a m...

1

I am getting this follow error after I added more relationships to my project. On localhost, the page displays perfectly fine. However, I get an error when trying to view it on heroku. ActiveRecor...

1

Solved

I have upgraded my rails version of one my app to 4.1.0. While upgrading I have upgraded all gems from Gemfile, which upgraded acts-as-taggable-on to 3.1.1 too. but after upgrade, when I tried to ...
Edington asked 23/4, 2014 at 9:3

2

Solved

So after searching for a tagging gem for my rails app I found the amazing acts-as-taggable gem. Installing it and playing around I discovered that it keeps all the Tags inside a tag db which just h...
Gordie asked 4/1, 2011 at 15:12

1

Solved

In a Ruby 2/Rails 4 app, I am trying to use acts-as-taggable-on in conjunction with active_model_serializers in order to create a JSON API that would output my tags along with other model parameter...

2

Solved

How can i create a fixture for ActsAsTaggableOn::tag Using FactoryGirl ? I tried : /spec/factories/tags.rb Factory.define ActsAsTaggableOn::Tag do |f| f.sequence(:name) { |n| "titre#{n}" } end ...
Nilla asked 3/3, 2012 at 9:27

1

Solved

We use https://github.com/mbleigh/acts-as-taggable-on for our Rails app and we've encountered a problem. We tell users the possible tags for a given model and context based on the recommended (Act...
Handiness asked 14/8, 2013 at 17:23

1

Is someone integrate acts-as-taggable-on to RailsAdmin? I'm trying rails_admin_tag_list but it's not working for me. My environments: **Gems included by the bundle: * actionmailer (3.2.13) * ac...
Diadelphous asked 27/3, 2013 at 4:46

3

I'm working on converting a plugin to a gem. In one of the models I'm using acts_as_taggable_on, and it looks like this class BlogPost < ActiveRecord::Base acts_as_taggable .... end However...
Awful asked 26/9, 2011 at 16:25

2

Solved

I would like to assign two different "types" of tags (sector categories and free tagging) to a Company model using acts_as_taggable_on. NB: I'm new to RoR! This is easy to do if just using standar...

1

Solved

Basically, I want to sort all the tags by the number of taggings they have. I am trying to create navigation using the tags. So I want to display just the top 5, 10, 15, X tags sorted by the numbe...
Bomke asked 8/5, 2013 at 22:18

1

Solved

I have a Post model which I'm accessing through ActiveAdmin. It's also taggable using the acts_as_taggable_on gem. So the admin can add, edit or delete tags from a specific Post. The normal way to...

2

Acts-as-taggable works great and everything but I was wondering if there was a way to restrict the tag cloud to only the most popular tags? Right not it looks like its ordering my cloud by the orde...
Radiotelegraph asked 8/10, 2011 at 15:6

2

Looks like Act_as_taggable_on is the more established gem, but Rocket_tag is the newer and hotter one. Which one would you recommend, and why? Most of the posts I found that compared Rails tagging ...

1

I'm reading the act-as-taggable Github document, https://github.com/mbleigh/acts-as-taggable-on, and I want to force tags to be saved downcase. The instruction in the Configuration section says to...
Paulettapaulette asked 26/4, 2012 at 0:59

2

The acts_as_taggable_on implementation worked quite well, but I also need to declare tags aliases. I've found a plugin that claimed to do so, acts_as_taggable_with_aliases, but last commit was in ...
Ducky asked 11/8, 2011 at 21:13

2

Solved

My (long, I apologize) question is a follow-on to: How to add tagging with autocomplete to an existing model in Rails? I am using acts-as-taggable-on and rails3-jquery-autocomplete, and trying to ...

1

Solved

I can't figure out the right code for using a predetermined set of options for a multi-select field. I want to have a list of skills in a drop down that users can select from. Here is the code I am...
Caudillo asked 1/2, 2012 at 18:0

0

On our website for a cancer-related organization, we have a flat tag structure with tags like "Leukemia" but also "Chronic Myelogenous Leukemia" and "Acute Lymphoblastic Leukemia". We have a rule t...
Cyprinodont asked 30/1, 2012 at 18:29

1

Solved

I've implemented the framework outlined in this post: How to use jquery-Tokeninput and Acts-as-taggable-on with some difficulty. This is working insofar as prepopulating with the appropriate theme ...
Liborio asked 21/11, 2011 at 15:27

2

Solved

I'm not sure how to display tags in my view that belong to a user logged in with Omniauth. A page in the view loads a random photos and tags associated to it (via a form that can be updated from t...

6

Solved

This is how you use autocomplete with jQuery Tokeninput and ActsAsTaggableOn. In my situation i am using a nested form but it shouldnt matter. Everything below is code that works. Code Product Mode...

2

Solved

I've run into a small problem with some search-functionality for a Rails 3 website I'm developing. I have a simple Post model that looks like this: class Post < ActiveRecord::Base acts_as_tagg...
Undergraduate asked 23/4, 2011 at 19:36

2

Solved

I have model with tag context: class Product < ActiveRecord::Base acts_as_taggable_on :categories end I'm trying to initialize tags caching: class AddCachedCategoryListToProducts < Activ...
Rid asked 15/10, 2010 at 23:8

2

Solved

The default delimiter in the acts-as-taggable-on gem is a comma. I'd like to change this to a space throughout my Rails 3 application. For example, tag_list should be assigned like this: object.ta...
Keaton asked 4/1, 2011 at 8:8

© 2022 - 2024 — McMap. All rights reserved.