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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Ivan Storck
July 08, 2013
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Render or Redirect?
Learn the difference between render and redirect in Ruby on Rails
Ivan Storck
July 08, 2013
More Decks by Ivan Storck
See All by Ivan Storck
Bower and Rails
ivanoats
1
13k
Email on Rails
ivanoats
0
110
A Good Question
ivanoats
1
91
Rails Performance Basics: Ivan the Terrible's Blog
ivanoats
2
69
Ruby on Rails Web Application Security
ivanoats
0
160
Other Decks in Programming
See All in Programming
書籍「プロフェッショナルAI駆動開発」紹介スライド
juntaromatsumoto
0
1k
in-process GraphQL のすすめ #ginzajs
izumin5210
4
1.5k
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
230
What We Talk About When We Talk About XP
m_seki
2
390
初めての模倣学習とVLA
natsutan
0
500
PHPプロジェクトの結合バランスを可視化する #php_night
kajitack
0
230
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.9k
高専、大学編入、そして未踏へ〜プロダクト開発とキャリアの歩み - Technical College, University Transfer, and On to “Mitou” / My Journey in Product Development and Career
pkmiya
0
140
Swift愛好会と私(ウホーイ) / Swift Fan Club and Uhooi
uhooi
0
140
Hono + Inertia + React で LP を構築した話
oukayuka
2
220
高専キャリア LT 発表内容
crysta1221
6
5.6k
ALB ログから Trace を気合で繋げる技術
fohte
7
880
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
570
Abbi's Birthday
coloredviolet
3
9.8k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
A Tale of Four Properties
chriscoyier
163
24k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Test your architecture with Archunit
thirion
2
2.4k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
510
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
260
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
380
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
230
Everyday Curiosity
cassininazir
0
310
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
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?