Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Rails Layout Basic
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
HeChien Hsu
August 28, 2012
Technology
140
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rails Layout Basic
基本的Rails Layout介紹。
HeChien Hsu
August 28, 2012
Transcript
10 slides
Rails Layout 徐赫謙
Rails Layout Basic
Layout
https://gist.github.com/3494496
yield
https://gist.github.com/3494496
head
header •單純只回傳http header •可以指定location (for API)
redirect_to
redirect_to •⽤用於Controller導址
More Decks by HeChien Hsu
See All by HeChien Hsu
Using Git hosting
hechien
0
67
[Kaohsiung Rails meetup] 國際化影片分享網站
hechien
0
220
[Wheel Lab #2] Apple Service with Rails.
hechien
0
130
[Sokoos][教育訓練] Git - 1
hechien
0
190
[數位教學] 用Bootstrap製作網頁
hechien
0
1.4k
DesignYou - 專題報告投影片
hechien
0
160
[作業] 創意美學
hechien
0
95
[教育訓練] Rails Form Basic
hechien
1
92
[教育訓練] Rails Validation Basic
hechien
1
130
Other Decks in Technology
See All in Technology
AIが学べる子供の夏休みの自由研究教材を作ったが空振りだった話
yoshimura_datam
0
130
AI-DLCでソフトウェア開発の速さは 上がったのか?
rfdnxbro
0
190
Claude Certified Developer – Professional 試験対策
shinoisa
0
330
AI時代に問い直す「プロダクションミーティング」の価値 〜チームでサービスの信頼性を高める取り組み〜
mackerelio
0
260
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
200
技術同人誌を作る方法
yoshimura_datam
0
120
gradle-best-practices 使ってみた
mikanichinose
0
240
最近のMySQL事情について
yoku0825
2
1k
AWS AIB 受験体験記!~練習問題を AI に作らせてみて感じたこと~
ysuzuki
0
120
AI時代のTechLeadの問い〜Tech Lead Conference 2026 Autumn / questions-for-tech-leads-in-the-age-of-ai
haru860
0
130
OWASP AI Agentic Top10に準拠するクラウドネイティブなガードレールの実践(CNDW 2026)
keitah
1
460
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
200
Featured
See All Featured
A Tale of Four Properties
chriscoyier
163
24k
Automating Front-end Workflow
addyosmani
1370
210k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
530
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
620
Technical Leadership for Architectural Decision Making
baasie
4
660
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
320
The Pragmatic Product Professional
lauravandoore
37
7.5k
How to build a perfect <img>
jonoalderson
1
6.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
510
Amusing Abliteration
ianozsvald
1
410