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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T18:44:26+00:00 2026-05-11T18:44:26+00:00

using Ruby on Rails 2.3.2, since I already created Scaffold for Story, so instead

  • 0

using Ruby on Rails 2.3.2, since I already created Scaffold for Story, so instead of experimenting and creating a new action called “new” (“new” already exists from the scaffold), i used “newnew” in the controller file and in the view file, hoping that

http://localhost:3000/stories/newnew

will be another way to create a new record. but turns out RoR will treat “newnew” as a record id instead of an action, as it is reported:

Couldn’t find Story with ID=newnew

is there a way to make newnew also as an action?

route.rb has

map.resources :stories

map.connect ':controller/:action/:id'
map.connect ':controller/:action/:id.:format'

and it is Rails 2.3.2

  • 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-11T18:44:27+00:00Added an answer on May 11, 2026 at 6:44 pm

    The source of the issue is likely to be in your routes.rb, can you post its content into your question?

    Depending on the version of rails and whether you are using RESTful resources, the behaviour differs. Either way, the routes.rb should hold the answer.

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

Sidebar

Related Questions

Since Rails is using Ruby (dynamic language), would it be possible to create a
I'm new to Ruby on Rails (formerly and currently PHP expert) so forgive my
I've been using ruby on rails for the last 4 months or so and
I'm using Ruby on Rails 3 with Ruby 1.9.2. I'm following an article on
I am using Ruby on Rails 3 and I would like to initialize my
I am creating a web-based IMAP client in Rails, and want to cache the
The Setup I have a Ruby on Rails application that I manage from a
I'm trying to install a rails server for my application. I'm using ubuntu 10.04
I have a Mac OS with Snow Leopard v10.6.5 and I am developing a
So, I have a bunch of partners whose templates and images are stored below

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.