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 7642857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T09:17:49+00:00 2026-05-31T09:17:49+00:00

Since I’ve started programming in Rails 5 days ago. I’m learning very many aspects

  • 0

Since I’ve started programming in Rails 5 days ago. I’m learning very many aspects of the framework by seeing its behaviour around my tests, the answers were perfect but this time I’ve got this one and I dont know what to do with it:
The message that I’ve got is this one…

undefined method `task_task_task_task_task_path’ for #<#:0x36df6c8>

This is my view:

<%= form_for @tasks do |t| %>
<div id="task_list">
<% @tasks.each do |task| %>
  <li id="task">
  <% if task.done == false %> 
    <%= t.check_box :done, :checked => task.done, :checked_value => true, :unchecked_value => false %>  <%= task.name %>
  <% else %>
    <%= t.check_box :done, :checked => task.done, :checked_value => true, :unchecked_value => false, :disabled => "disabled" %>  <%= task.name + "(done)" %>
  <% end %> 

  </li>
<% end %>
<%= t.submit "Mark selected as done", :action => "update" %>
</div>
<% end %>

I’ve already checked the form and submit documentation many times but I can’t get it. This form is for many instances and update every instance with a new boolean value.

Thanks already.

  • 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-31T09:17:50+00:00Added an answer on May 31, 2026 at 9:17 am

    You can’t magically submit an array of data to a server, Rails form helpers are for individual objects, not for collections.

    There are ways, however, to submit an array of values back to the server,for example you can append [] to checkbox name attribute, this will force rails to create an array of values on server side.

    For a detailed discussion, please see this documentation point 7.1

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since I started studying object-oriented programming, I frequently read articles/blogs saying functions are better,
Since Rails is not multithreaded (yet), it seems like a threaded web framework would
Since I have started learning about rendering to a texture I grew to understand
Since I started programming, I have read in every place to avoid wasteful branches
Since Graduating from a very small school in 2006 with a badly shaped &
Since I started this new webshop for a friend to launch, which still in
Since hours I am working on a very hard problem: How is a DataGrid
Since I started writing this question, I think I figured out the answers to
Since I'm just learning C# with .NET, (I have more experience with the XNA
Since I started using Fireworks CS5.1, and it doesn't matter how I write the

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.