rails解説セミナー 第10章

Post on 11-Apr-2017

116 Views

Category:

Education

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

10

#Rails

http://railstutorial.jp/

Rails

by YassLab

Slideshare

http://www.slideshare.net/yasulab/presentations

Cloud9

1. 2. URL 3.

https://ide.c9.io/yasulab/rails-tutorial

https://rails-tutorial-yasulab.c9users.io/

URL “Collaborate” → “Group Chat”

! :)

Ready?

!

http://railstutorial.jp/

Rails

by YassLab

10

#Rails

7 108~9

: Users RESTful

, RESTful Users .

1.

• /

2.

3.

• Pagination

4.

• Strong Prameters ( )

http://railstutorial.jp/

Rails

by YassLab

10

10.1

🤔

signup .

.

10.1.

• edit

• form_for(@user) HTML :

10.1.

10.1.

http://railstutorial.jp/

Rails

by YassLab

10

10.2

10.2.

🤔

,

• before :

• Login

• Root URL

10.2.

🎥 ? 🤔

🎥 🔧✨

• URL

• 👆

10

10.3

http://railstutorial.jp/

Rails

by YassLab

10.3.

🤔

.

(= pagination)

signup

.

• index View

• pagination

• Partial

10.3.

!

10

10.4

http://railstutorial.jp/

Rails

by YassLab

10.4.

,

🤔

• admin User

• admin

• destroy

• destroy

10.4.

1.

• /

2.

3.

• Pagination

4.

• Strong Prameters ( )

: Users RESTful

, RESTful Users .

7 108~9

Action View http://railsguides.jp/form_helpers.html

Action Controller http://railsguides.jp/action_controller_overview.html

Rails http://railsguides.jp/security.html

• :)

• : http://railstutorial.jp/seminars

• :) ,

.

• , .

10

#Rails

http://railstutorial.jp/

Rails

by YassLab

top related