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
86
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
83
A Good Question
ivanoats
1
78
Rails Performance Basics: Ivan the Terrible's Blog
ivanoats
2
55
Ruby on Rails Web Application Security
ivanoats
0
150
Other Decks in Programming
See All in Programming
Jakarta EE Meets AI
ivargrimstad
0
210
Deoptimization: How YJIT Speeds Up Ruby by Slowing Down / RubyKaigi 2025
k0kubun
0
1.3k
複雑なフォームの jotai 設計 / Designing jotai(state) for Complex Forms #layerx_frontend
izumin5210
4
1.1k
Building Scalable Mobile Projects: Fast Builds, High Reusability and Clear Ownership
cyrilmottier
2
300
サービスクラスのありがたみを発見したときの思い出 #phpcon_odawara
77web
4
690
REALITY コマンド作成チュートリアル
nishiuriraku
0
110
Java 24まとめ / Java 24 summary
kishida
3
500
Enterprise Web App. Development (1): Build Tool Training Ver. 5
knakagawa
1
120
Golangci-lint v2爆誕: 君たちはどうすべきか
logica0419
1
160
Thank you <💅>, What's the Next?
ahoxa
1
540
プロフェッショナルとしての成長「問題の深掘り」が導く真のスキルアップ / issue-analysis-and-skill-up
minodriven
8
1.7k
Vibe Coding の話をしよう
schroneko
12
2.9k
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
670
Build The Right Thing And Hit Your Dates
maggiecrowley
35
2.6k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Building Adaptive Systems
keathley
41
2.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2k
For a Future-Friendly Web
brad_frost
176
9.7k
Code Review Best Practice
trishagee
67
18k
A Modern Web Designer's Workflow
chriscoyier
693
190k
GitHub's CSS Performance
jonrohan
1030
460k
Writing Fast Ruby
sferik
628
61k
Side Projects
sachag
453
42k
It's Worth the Effort
3n
184
28k
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?