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
[RubyKaigi 2024] Ruby Mixology 101: adding shots of PHP, Elixir, and more
palkan
0
120
Balkan Ruby 2024 — How and why to run SQLite on Rails in production
fractaledmind
0
110
slog登場に伴うloggerの取り回し手法の見直し / kamakura.go #6
arthur1
0
130
哲学史とモデリング
tanakahisateru
2
420
Direct Style Effect Systems The Print[A] ExampleA Comprehension Aid
philipschwarz
PRO
0
410
株式会社ゼネテック
genetec
0
120
TypeScriptのパフォーマンス改善
yajihum
14
5k
TSKaigi 2024 - 新サービス Progate Path の演習で TypeScript を採用して見えた教材観点からの利点と課題
makotoshimazu
1
220
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
49
16k
Namespace, What and Why
tagomoris
3
670
Slackワークフローで感謝を伝える機能/WiFi 自動接続/Figma to React Component/障害レポート君 Team3@NOT A HOTEL
nakaohiroshi
0
100
Open standards for building event-driven applications in the cloud
meteatamel
0
230
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
323
20k
It's Worth the Effort
3n
180
27k
Robots, Beer and Maslow
schacon
PRO
155
8k
Atom: Resistance is Futile
akmur
260
25k
The MySQL Ecosystem @ GitHub 2015
samlambert
244
12k
Unsuck your backbone
ammeep
664
57k
Navigating Team Friction
lara
179
13k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.7k
Rebuilding a faster, lazier Slack
samanthasiow
74
8.3k
Side Projects
sachag
451
41k
Large-scale JavaScript Application Architecture
addyosmani
504
110k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
117
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?