Ruby On Rails Classroom image

Anil  Bist / Professional / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  ||
Lessons:-Weaknesses of this Users Resource

Weaknesses of this Users Resource

Although good for getting a general overview of Rails, the scaffold Users resource suffers from a number of severe weaknesses.

• No data validations. Our User model accepts data such as blank names and invalid email addresses without complaint.
• No authentication. We have no notion signing in or out and no way to prevent any user from performing any operation.

• No tests. This isn’t technically true—the scaffolding includes rudimentary tests—but the generated tests are ugly and inflexible, and they don’t test for   data validation, authentication,  or any other custom requirements.
• No layout. There is no consistent site styling or navigation.
• No real understanding. If you understand thescaffold code, you probably shouldn’t be reading this book.

 
 
 
image
Anil  Bist

Skills    Ruby On Rails

Qualifications :- High School - SLV, College/University - Graphic Era Deemed Univ University,
Location :-Dehradun,Dehradun,Uttarakhand,India
Description:-

I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore and my 1st framework was "Ruby on Rail" as Web development and delivered around 5+ Projects using this platform. Then came another dimension as JEE/Sturst framework, Gradually I realized that I want to build something on my own and give my passion and energy on creating something different a
Explore

 

  Students (0)