Ruby On Rails Classroom image

prateek  darmwal / Professional / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  First|1 | 2 | 3 | 4|Last
Lessons:- Signup Failure

 

The best way to understand how the code in Listing 7.21 works is to submit the form with some invalid signup data; the result appears in Figure 7.15, and the full debug information appears in Figure 7.16. To get a clearer picture of how Rails handles the submission, let’s take a closer look at the params hash from the debug information (Figure 7.16):

 

 

We saw starting in Section 7.1.2 that the params hash contains information about each request; in the case of a URI like /users/1, the value of params[:id] is the id of the corresponding user (1 in this example). In the case of posting to the signup form,

 
 
 
image
prateek  darmwal

Skills    Ruby On Rails

Qualifications :- High School - S.K.M. Sn. Sec. School, Haldwani, College/University - Graphic Era Hill University, Bhimtal,
Location :-Dehradun,Dehradun,Uttarakhand,India
Description:- I like to explore new technologies. I have skills in ruby on rails, php5, cakephp, jquery, javascript, html/css, java, c & c++. I love coding
Explore
 

  Students (0)