Getting Started with Rails (2)
6
Click here to load reader
Transcript of Getting Started with Rails (2)
![Page 1: Getting Started with Rails (2)](https://reader037.fdocuments.us/reader037/viewer/2022100508/55a2b9b01a28ab445f8b4583/html5/thumbnails/1.jpg)
Getting����������� ������������������ Started����������� ������������������ (2)
2014. 11. 11 Lucius Choi(@rorlab, @luciuschoi)
ROR Lab. Season 4, Biweekly Lecture
![Page 2: Getting Started with Rails (2)](https://reader037.fdocuments.us/reader037/viewer/2022100508/55a2b9b01a28ab445f8b4583/html5/thumbnails/2.jpg)
![Page 3: Getting Started with Rails (2)](https://reader037.fdocuments.us/reader037/viewer/2022100508/55a2b9b01a28ab445f8b4583/html5/thumbnails/3.jpg)
Rails����������� ������������������ Migrations����������� ������������������ on����������� ������������������ CLI
http://youtu.be/eI0Jd9KajF4
![Page 4: Getting Started with Rails (2)](https://reader037.fdocuments.us/reader037/viewer/2022100508/55a2b9b01a28ab445f8b4583/html5/thumbnails/4.jpg)
Strong����������� ������������������ Parameters
• Strong => secured : whitelisted parameters
• To prevent wrongful mass assignment
![Page 5: Getting Started with Rails (2)](https://reader037.fdocuments.us/reader037/viewer/2022100508/55a2b9b01a28ab445f8b4583/html5/thumbnails/5.jpg)
“Article”����������� ������������������ Model
articles
title string text text
![Page 6: Getting Started with Rails (2)](https://reader037.fdocuments.us/reader037/viewer/2022100508/55a2b9b01a28ab445f8b4583/html5/thumbnails/6.jpg)
����������� ������������������ 감사합니다.