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)

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

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

ROR Lab. Season 4, Biweekly Lecture

Page 2: Getting Started with Rails (2)
Page 3: Getting Started with Rails (2)

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

http://youtu.be/eI0Jd9KajF4

Page 4: Getting Started with Rails (2)

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

• Strong => secured : whitelisted parameters

• To prevent wrongful mass assignment

Page 5: Getting Started with Rails (2)

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

articles

title string text text

Page 6: Getting Started with Rails (2)

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