เริ่มต้นโค้ด Ruby on Rails Episode 2 Part 1 - เราท์ Restful

20 views
Skip to first unread message

artellectual

unread,
Mar 8, 2012, 6:43:40 AM3/8/12
to thai-ruby-rai...@googlegroups.com
http://www.youtube.com/watch?v=3zEePNfO9U8

เรียนรู้เรื่อง Controllers และ Views

GET - ใช้สำหรับ 'รับ' ข้อมูล
POST - ใช้สำหรับ 'เพิ่ม' ข้อมูล
PUT - ใช้สำหรับ 'เปลี่ยน' เพื่ออัพเดตข้อมูล (ในเรลส์ 4 จะใช้ PATCH แทน)
DELETE - ใช้สำหรับ 'ลบ' ข้อมูล
Reply all
Reply to author
Forward
0 new messages