Getting Started with Rails (2)

Post on 13-Jul-2015

77 views 1 download

Transcript of Getting Started with Rails (2)

Getting����������� ������������������  Started����������� ������������������  (2)

2014. 11. 11 Lucius Choi(@rorlab, @luciuschoi)

ROR Lab. Season 4, Biweekly Lecture

Rails����������� ������������������  Migrations����������� ������������������  on����������� ������������������  CLI

http://youtu.be/eI0Jd9KajF4

Strong����������� ������������������  Parameters

• Strong => secured : whitelisted parameters

• To prevent wrongful mass assignment

“Article”����������� ������������������  Model

articles

title string text text

����������� ������������������  감사합니다.