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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ivan Storck
July 08, 2013
Programming
0
100
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
95
A Good Question
ivanoats
1
85
Rails Performance Basics: Ivan the Terrible's Blog
ivanoats
2
59
Ruby on Rails Web Application Security
ivanoats
0
150
Other Decks in Programming
See All in Programming
Ruby x Terminal
a_matsuda
7
580
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
1.6k
AI時代でも変わらない技術コミュニティの力~10年続く“ゆるい”つながりが生み出す価値
n_takehata
2
640
CDIの誤解しがちな仕様とその対処TIPS
futokiyo
0
170
コーディングルールの鮮度を保ちたい / keep-fresh-go-internal-conventions
handlename
0
160
CSC307 Lecture 11
javiergs
PRO
0
590
AIとペアプロして処理時間を97%削減した話 #pyconshizu
kashewnuts
1
200
Railsの気持ちを考えながらコントローラとビューを整頓する/tidying-rails-controllers-and-views-as-rails-think
moro
4
370
encoding/json/v2のUnmarshalはこう変わった:内部実装で見る設計改善
kurakura0916
0
310
社内規程RAGの精度を73.3% → 100%に改善した話
oharu121
13
7.6k
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
920
ベクトル検索のフィルタを用いた機械学習モデルとの統合 / python-meetup-fukuoka-06-vector-attr
monochromegane
2
320
Featured
See All Featured
How to build a perfect <img>
jonoalderson
1
5.2k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
470
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
GraphQLの誤解/rethinking-graphql
sonatard
75
11k
The Spectacular Lies of Maps
axbom
PRO
1
580
We Are The Robots
honzajavorek
0
190
Writing Fast Ruby
sferik
630
63k
Thoughts on Productivity
jonyablonski
75
5.1k
The Language of Interfaces
destraynor
162
26k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
65
Build your cross-platform service in a week with App Engine
jlugia
234
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?