Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3453804
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:25:04+00:00 2026-05-18T09:25:04+00:00

I am using Rails 3.0.1 and the acts-as-taggable-on gem. I have it implemented properly

  • 0

I am using Rails 3.0.1 and the acts-as-taggable-on gem.

I have it implemented properly (I can create and find tags for my Post model in the rails console.)

I even have the tag cloud working on my controller’s index page.

I am stuck on the part I wasn’t expecting to get stuck on. 🙁

How do I add the text_field for the tag list to the new and edit view forms when adding a new Post or editing a current one? For some reason, probably because I am daft, I can find no examples of this in my searches–I am the only one who can’t figure it out!

So, don’t hold back. 😉

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T09:25:04+00:00Added an answer on May 18, 2026 at 9:25 am

    acts-as-taggable-on expects a plain input field to enter the coma separated tags. If your model has acts_as_taggable, the view will be something like the following code (locate your own in _form.html.erb partial):

    <%= form_for(@post) do |f| %>
      <div class="field">
        <%= f.label :title %><br />
        <%= f.text_field :title %>
      </div>
      <div class="field">
        <%= f.label :tag_list %><br />
        <%= f.text_field :tag_list %>
      </div>
      <div class="actions">
        <%= f.submit %>
      </div>
    <% end %>
    

    if has acts_as_taggable_on :languages will be:

    <%= form_for(@post) do |f| %>
      <div class="field">
        <%= f.label :title %><br />
        <%= f.text_field :title %>
      </div>
      <div class="field">
        <%= f.label :language_list %><br />
        <%= f.text_field :language_list %>
      </div>
      <div class="actions">
        <%= f.submit %>
      </div>
    <% end %>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using acts-as-taggable-on for a Rails application and every time I create a
Hi I'm using the rails plugin acts-as-taggable-on and I'm trying to find the top
Am using below specified gem acts-as-taggable-on(2.2.2) will_paginate(3.0.2) rails(3.0.3) ruby 1.8.7 i tried to use
I'm using Rails 3.0 and the acts_as_taggable_on gem. I have a Candy model and
I'm using acts-as-messageable , a rails gem, in an app i have. However in
I am using rails 3.2.3 and gmaps4rails gem. I have one model called contact.
I have such problem. I'm using google_maps_for_rails gem and it is can't find location
Using Rails 3.2. I have an individual Shop post, and each shop has reviews.
Hi I am working on a Rails 3 project and I am using acts-as-taggable-on
Using: Rails 3.1.1 I have a controller/model/view called Category that is built up on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.