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

  • Home
  • SEARCH
  • 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 8579797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:41:15+00:00 2026-06-11T20:41:15+00:00

Just was checking this episode by Ryan Bates (http://railscasts.com/episodes/52-update-through-checkboxes) and it seems that Rails

  • 0

Just was checking this episode by Ryan Bates (http://railscasts.com/episodes/52-update-through-checkboxes) and it seems that Rails 3.2.x has different setup.

Thus map.resources :tasks, :collection => { :complete => :put } does not produce expected result, as it drops an issue that complete_tasks_path does not exist. Could you please let me know how to customise routing in this particular situation?

Also seems that check_box_tag requires different attributes other than Ryan puts in there. AS it writes back unexpected kEND...

Any help appreciated

  • 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-06-11T20:41:17+00:00Added an answer on June 11, 2026 at 8:41 pm

    It sounds like you want the following which defines a new “completed” action on the collection, accessible at /tasks/completed.

    Here are three ways of adding an additional action on the collection

    resources :tasks do 
      put :completed, :on => :collection
    
      # --- OR ---
    
      collection do
        put :completed
        # additional collection action here ...
      end
    
      # --- OR ---
    
      collection { put :completed }
    end
    

    This will define a completed_tasks_path method, and route to the completed action of your TasksController.

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

Sidebar

Related Questions

so I've watched http://railscasts.com/episodes/43-ajax-with-rjs but I have a question: In my view I have
I just went through some MVC tutorials after checking this site out for a
Just checking out Android development very superficially, and it seems that most everyone is
This simplified script is enough to cause the issue... just checking if the '-d'
I am just checking out F#, so apologies if this is a silly question,
i am doing function call with scheduledTimerWithTimeInterval. i am just checking that xml parsing
Just checking my JS and I have an error, but I cannot see where.
Just checking if there's any best practice when writing a Windows Service. The Service
Just checking it for my GPT site, Is it LEGAL to get pay my
i just checking Flash Builder 4 ( i come from Flex builder 3 ),

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.