Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Render or Redirect?
Search
Ivan Storck
July 08, 2013
Programming
0
88
Render or Redirect?
Learn the difference between render and redirect in Ruby on Rails
Ivan Storck
July 08, 2013
Tweet
Share
More Decks by Ivan Storck
See All by Ivan Storck
Bower and Rails
ivanoats
1
13k
Email on Rails
ivanoats
0
86
A Good Question
ivanoats
1
81
Rails Performance Basics: Ivan the Terrible's Blog
ivanoats
2
57
Ruby on Rails Web Application Security
ivanoats
0
150
Other Decks in Programming
See All in Programming
Leading Effective Engineering Teams in the AI Era
addyosmani
6
440
10年もののAPIサーバーにおけるCI/CDの改善の奮闘
mbook
0
830
(Extension DC 2025) Actor境界を越える技術
teamhimeh
1
260
Six and a half ridiculous things to do with Quarkus
hollycummins
0
180
デミカツ切り抜きで面倒くさいことはPythonにやらせよう
aokswork3
0
240
オープンソースソフトウェアへの解像度🔬
utam0k
15
2.9k
Devoxx BE - Local Development in the AI Era
kdubois
0
130
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
410
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
0
1.3k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
150
Claude CodeによるAI駆動開発の実践 〜そこから見えてきたこれからのプログラミング〜
iriikeita
0
260
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
250
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
The Invisible Side of Design
smashingmag
302
51k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Navigating Team Friction
lara
190
15k
A Modern Web Designer's Workflow
chriscoyier
697
190k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
A Tale of Four Properties
chriscoyier
161
23k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
Reflections from 52 weeks, 52 projects
jeffersonlam
353
21k
Transcript
Render Or Redirect? 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?
Render Or Redirect?
Render Or Redirect?
Render Or Redirect? 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.
Render Or Redirect? Render Remember this picture of a painter
for render. Render "re-paints" the new content into the same location where you are.
Render Or Redirect?
Render Or Redirect?
Render Or Redirect?
Render Or Redirect?
Render Or Redirect?
Render Or Redirect?
Render Or Redirect?
Render Or Redirect?