Have a fun
来源:互联网 发布:淘宝客服聊天表情包 编辑:程序博客网 时间:2024/04/28 02:41
I am reading ruby on rails tutorial~When I go this~
Weaknesses of This Users Resource
Though 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 the scaffold code, you probably shouldn’t
be reading this book.
The Last tips make me laugh~haha~the author is so funny~
- Have a fun
- PAT-A 1023. Have Fun with Numbers
- pat a 1023 Have Fun with Numbers
- Have Fun & Have Busy
- opensue "Have a lot of fun..."的出处
- PAT A 1023. Have Fun with Numbers (20)
- PAT(A) - 1023. Have Fun with Numbers (20)
- PAT-A-1023. Have Fun with Numbers (20)
- Have Fun with Numbers
- !!! Good luck & have fun !!!
- Have Fun with Numbers
- have tons of fun
- Have Fun with Numbers
- a fun
- Have Fun In Happy Valley
- Have Fun with Microsoft Popfly
- 1023. Have Fun with Numbers
- 1023. Have Fun with Numbers
- time 模块
- Note
- Item 23 多考虑“非成员、非友元”函数
- python3 urllib.request
- MyEclipse 8.6下安装配置Extjs插件
- Have a fun
- Item 35 考虑虚函数的替代者
- C#虚方法和抽象方法
- Lucene和Nutch的文章荟萃
- fl2440文件系统的制作
- Item 37 子类不能修改成员函数的默认参数值
- Node的三种译法:网点、节点和结点
- c# new and override区别
- JTextPane 实现序列化保存图文混合