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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:56:07+00:00 2026-05-18T21:56:07+00:00

I understand why a Rails index method would use the plural form of a

  • 0

I understand why a Rails index method would use the plural form of a resource – we’re showing all projects, for example.

And I understand why the show method would use the singular form – we only want to see one project, with a particular ID.

But I don’t understand why new and create would use the plural. Is there a way to create more than one project at a time? Is there some other reasoning for using the plural here that someone could explain?

  • 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-18T21:56:07+00:00Added an answer on May 18, 2026 at 9:56 pm

    New and Create aren’t plural, in the way I think about REST. Instead, I think about it like:

    whatever.com is your base domain, and whatever.com/books means that you have a collection of resources each named book. The collection itself is named books.

    So, when you want to create a new book, you are asking the collection for the information needed to create a new book. This becomes /books/new

    When you actually create the book, you are posting information to /books. The HTTP verb is POST, so when you POST to your collection, you execute the create action.

    This looks like a good starting point on REST.

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

Sidebar

Related Questions

I am developing a Rails application and would like to understand when to use
I'm new to rails and I don't understand the differences between the use of
I am using Ruby on Rails 3.0.7 and I would like to understand how
I'm trying to understand how rails works in respect to foreign key and primary
I've spent a day spinning my wheels trying to understand how Rails :remote=>true works.
I understand that this may not necessarily apply to just @properties, but they would
I'm trying to understand the new arel engine in Rails 3 and I've got
I'm trying to understand Rails from the ground up. I want to learn how
this is a silly questions but I don't understand, why rails isn't evaluating my
I'm running Rails 2.3.4. When I create a new rails project, the public/index.html file

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.