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
82
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
68
A Good Question
ivanoats
1
74
Rails Performance Basics: Ivan the Terrible's Blog
ivanoats
2
53
Ruby on Rails Web Application Security
ivanoats
0
140
Other Decks in Programming
See All in Programming
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
180
"config" ってなんだ? / What is "config"?
okashoi
0
240
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
220
try! Swift Tokyo 2024 参加報告 / try! Swift Tokyo 2024 Report
hironytic
0
200
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.4k
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
110
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
420
SwiftUIで使いやすいToastの作り方 / How to build a Toast system which is easy to use in SwiftUI
lovee
3
140
Netty Chicago Java User Group 2024-04-17
sullis
0
170
ゆるい個人開発のススメ
kuroppe1819
10
990
Goのエラースタックトレースの歴史と今後
sonatard
7
1.3k
Featured
See All Featured
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
357
22k
How STYLIGHT went responsive
nonsquared
92
4.8k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
6
1.5k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
21
1.6k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
The Cost Of JavaScript in 2023
addyosmani
16
3.9k
Being A Developer After 40
akosma
57
580k
Git: the NoSQL Database
bkeepers
PRO
422
63k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Keith and Marios Guide to Fast Websites
keithpitt
408
22k
Building Better People: How to give real-time feedback that sticks.
wjessup
355
18k
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?