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
CSC305 Lecture 05
javiergs
PRO
0
220
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
350
詳しくない分野でのVibe Codingで困ったことと学び/vibe-coding-in-unfamiliar-area
shibayu36
3
5.2k
What's new in Spring Modulith?
olivergierke
1
160
CSC305 Lecture 06
javiergs
PRO
0
250
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
33k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
310
EMこそClaude Codeでコード調査しよう
shibayu36
0
230
株式会社 Sun terras カンパニーデック
sunterras
0
370
(Extension DC 2025) Actor境界を越える技術
teamhimeh
1
270
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
200
あなたとKaigi on Rails / Kaigi on Rails + You
shimoju
0
170
Featured
See All Featured
Navigating Team Friction
lara
190
15k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.1k
Documentation Writing (for coders)
carmenintech
75
5.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.6k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
31
2.7k
GraphQLとの向き合い方2022年版
quramy
49
14k
A Tale of Four Properties
chriscoyier
161
23k
The Power of CSS Pseudo Elements
geoffreycrofte
79
6k
Visualization
eitanlees
149
16k
Practical Orchestrator
shlominoach
190
11k
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?