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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T20:52:16+00:00 2026-05-24T20:52:16+00:00

Im upgrading a rails 2 app to rails 3 app and am having a

  • 0

Im upgrading a rails 2 app to rails 3 app and am having a bunch of routing issues. Heres the current:

So in the page its trying to load (results/_form.html.erb) I have a form with the following syntax:

<%= form_tag(:controller => "results",:action => "show") do %>

And i do have an action in my results_controller.rb called show. Yet i keep getting the no route matches error. Is this rails 2 syntax and not 3? Is there something I need to do in my routes.rb file? I think there is because that was a a major change between rails 2 and 3, im just not sure what. Any suggestions?

  • 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-24T20:52:16+00:00Added an answer on May 24, 2026 at 8:52 pm

    show action ideally should expect id to be passed in the params:

    <%= form_tag(:controller => "results",:action => "show", :id => @user.id) do %>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're upgrading our app from Rails 2 to Rails 3.1, and I'm having trouble
I'm in the process of upgrading an app to Rails 3/Rspec 2. I see
I'm upgrading an app from rails 3.1.1 to rails 3.2. I had to update
I'm upgrading an app from Rails 2.3.9 to Rails 3.1. The app has a
I'm in the process of upgrading my app from Rails 3.0 to Rails 3.1.
in upgrading rails app from 2.2.2 to 2.3.9 first error was: D:\web>ruby script/server -trace
I'm upgrading a Rails 1 app to 2.3, and I'm running into a problem
I'm working on upgrading an old Rails app (1.1.6) to Rails 3. Obviously, a
I'm upgrading a Rails 2.3.5 app to Rails 3.0.3. But my integration tests aren't
I'm trying to deploy an application to Heroku after upgrading to Rails 3.1 with

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.