TEACHERS
GALLERY
PRICING
SIGN IN
TRY ZURU
GET STARTED
Loop
Audio
Interval:
5s
10s
15s
20s
60s
Play
1 of 13
Slide Notes
It can be an anxiety producing question.
In your Rails controller, which action should you call, render? or redirect? What is the difference?
Download
Go Live
New! Free Haiku Deck for PowerPoint Add-In
Render Or Redirect?
Share
Copy
Download
0
248
Published on Nov 19, 2015
No Description
View Outline
MORE DECKS TO EXPLORE
PRESENTATION OUTLINE
1.
RENDER OR REDIRECT?
It can be an anxiety producing question.
In your Rails controller, which action should you call, render? or redirect? What is the difference?
Photo by
Randi Deuro
2.
PIKE OR PINE?
Photo by
Sharon Mollerus
3.
ACTIONCONTROLLER::BASE
"READ THE SOURCE, LUKE" - OBI WTF
Photo by
myrrh.ahn
4.
REDIRECT
Think of redirect as a "gate change" for your flight. You've got to move locations. Redirect changes the URL that the user is on.
Photo by
insert screen name here
5.
RENDER
Remember this picture of a painter for render.
Render "re-paints" the new content into the same location where you are.
Photo by
martinak15
6.
WHICH IS DEFAULT?
Photo by
jev55
7.
RENDER
8.
RENDER IS OVERLOADED
Photo by
terbeck
9.
USUALLY IN VIEW
Photo by
jasohill
10.
RENDER IN CONTROLLER
Photo by
tricky (rick harrison)
11.
REDIRECT
12.
REDIRECT_TO
Photo by
cronewynd
13.
REDIRECT IS NOT RETURN
Photo by
vgm8383
Ivan Storck
http://ivanoats.com
×
Error!