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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:03:00+00:00 2026-05-26T00:03:00+00:00

I’ve noticed a pattern in the tutorials I’ve been using. When ever a sign

  • 0

I’ve noticed a pattern in the tutorials I’ve been using. When ever a sign up form is being created a UsersController is used and there are always specific actions e.g. new, create, edit, update, destroy. Although I have slight understanding of why these actions are used I do find myself becoming confused.

Can anyone point me to documentation or a screencast where I can learn about REST and “convention over configuration”. Seeing as I’m a few months into rails I’m still in the early stages of learning and now would be a good time to pick up some GOOD habits.

I’m working on a sign up system and have reached the stage to build the password reset. I will go about creating a Passwords controller but then will need to have a form for users to enter a password. I can use the “new” action for this right and create a new instance of my User model/class and store it in an instance variable @user so my view can access it. I know things like this work.. but don’t understand why it has to be in a new action. Wouldn’t it work under an action called ‘reset’ or ‘dog’ ?

Is there a reason why I put the code to help create /store a user in the database under the create action? or is this just good practice because it helps me understand exactly what is going on at first glance? Is it so I can take advantage of rails features such as routing…resources?

I’m trying to understand more..

Thanks in advance for responses..

  • 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-26T00:03:01+00:00Added an answer on May 26, 2026 at 12:03 am

    Try these this link – http://en.wikipedia.org/wiki/Representational_state_transfer

    You’ll get a better understanding of what REST actually means and why its good. Also the actions new, edit, create, update, delete, index are just Rails’ way of implementing “Convention over configuration”.
    If you want to use actions with custom names, you need to do some configuration.

    This should help you – http://railscasts.com/episodes/35-custom-rest-actions

    Let me know if this was helpful.

    Sahil

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I am trying to understand how to use SyndicationItem to display feed which is
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I have just tried to save a simple *.rtf file with some websites and

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.