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
Railsガイド「Railsをはじめよう」
Search
Yohei Yasukawa
May 10, 2015
Education
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Railsガイド「Railsをはじめよう」
Railsガイド - Railsをはじめよう
http://railsguides.jp/getting_started.html
Yohei Yasukawa
May 10, 2015
More Decks by Yohei Yasukawa
See All by Yohei Yasukawa
自己紹介 / who-am-i
yasulab
6
7.1k
多様なメンター、多様な基準
yasulab
6
20k
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
1
230
テストも、国際化も! 小中高生クリエータ支援プログラム『未踏ジュニア』を支える技術
yasulab
1
350
Matz に頼られたので張り切って2時間ほどドイツと日本の互いの Ruby 学習事情についてディスカッションした話
yasulab
1
910
困ったときのガイドライン / We Support You in Any Situation
yasulab
2
4.5k
英語学習から海外発表までの流れ
yasulab
18
4.5k
未踏ジュニア公式情報まとめ / Mitou Junior Highlights for Creators
yasulab
1
370
多様な分野、多様な世代 / Various Persons on the Earth
yasulab
0
310
Other Decks in Education
See All in Education
Soluciones al examen de Geografía 2026. JUNIO (Convocatoria Ordinaria)
juanmartin2026
1
8.6k
プロポーザルを書く技術とアンチパターン/proposal-writing-and-antipatterns
moriyuya
13
3.7k
0526
cbtlibrary
0
220
エビデンスベースト英語教育入門:エビデンスは科学的知見(だけ)ではない,制度だ!
terasawat
0
130
形骸化しない社内勉強会の取り組み - オーナーシップの作り方 / In-house study session
soudai
PRO
0
170
AIがコードを書く時代に、何を教えるのか / What Should We Teach in the Age of AI-Generated Code?
ichiroc
1
470
遊ぶかね欲しさの犯行(ルビ:労働)です
shirayanagiryuji
0
230
Enterprise UI, v2
stevekinney
0
160
学生のうちに考えておきたい信頼の話
suisan
1
590
批判的応用言語学ワークショップ(2026-08-12 お茶の⽔⼥⼦⼤学)
terasawat
0
140
!コスパよくインターンに受かる方法!
ruribou
1
320
Modern Data Fetching Techniques in Angular
debug_mode
0
260
Featured
See All Featured
The Invisible Side of Design
smashingmag
301
52k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
340
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
430
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
490
Ruling the World: When Life Gets Gamed
codingconduct
0
300
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
Why Our Code Smells
bkeepers
PRO
340
58k
Everyday Curiosity
cassininazir
0
280
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
420
Transcript
RailsΛ͡ΊΑ͏ Railsղઆηϛφʔ http://railsguides.jp/ by ϠεϥϘ
ηϛφʔΛ ࢝ΊΔલʹ
ߨࢣͷλʔϛφϧԼه URL ͔ΒӾཡͰ͖·͢ :) http://screenx.tv/yasulab ߨٛதʹࢀরͨ͠ϦϯΫίϝϯτཝͰ (࣭͓ؾܰʹ)
࣭͍ͭͰ͓ؾܰʹ! ݸผ૬ஊٳܜऴྃޙʹ :)
Ready?
ղઆηϛφʔΛ ਐΊ͍͖ͯ·͠ΐ͏!
RailsΛ͡ΊΑ͏ Railsղઆηϛφʔ http://railsguides.jp/ by ϠεϥϘ
RailsΨΠυͱʁ • தڃऀʙ্ڃऀ͚ͷେܕϦϑΝϨϯε • ಡΈਐΊΔॱ൪ಛʹͳ͘ɺػೳຖʹղઆ: • e.g. Active Record ͷجૅɺόϦσʔγϣϯ
• e.g. Action View ͷ֓ཁɺϑΥʔϜϔϧύʔ • e.g. Action Controller ͷ֓ཁɺϧʔςΟϯά • ྫ֎: RailsΛ͡ΊΑ͏ → Rails νϡʔτϦΞϧ • Σϒ൛શฤແྉ! http://railsguides.jp/
ຊষͷ·ͱΊ RailsΛ͡ΊΑ͏ http://railsguides.jp/getting_started.html
ୈઅʙୈઅ • ରಡऀ • Railsͷֶ • RailsͷηοτΞοϓ • ৽نϓϩδΣΫτ࡞ •
“Welcome Abroad” ·Ͱ
ୈઅ • RailsνϡʔτϦΞϧͷ ୈ2ষʙୈ9ষΛ(ڧҾʹ) 1ͭʹ·ͱΊͨষ. • νϡʔτϦΞϧΛಡΜ ͩਓʹͱͬͯ෮शʹ, ͜Ε͔ΒಡΉਓʹͱͬ ͯ
Rails ͷงғؾΛମ ݧͰ͖ΔΑ͏ͳߏ.
Model-View-Controller (MVC) ΞʔΩςΫνϟͷ֓೦ਤ Router Controller View Model Database Req. HTML
ୈ3ষ ୈ5ষ ୈ6ষ ୈ4ষ
Model-View-Controller (MVC) ΞʔΩςΫνϟͷ֓೦ਤ Router Controller View Model Database Req. HTML
ຊΨΠυ
• લʹॻ͍͍͖ͯ·͢ • RESTΞʔΩςΫνϟΛαΫοͱߏஙͯ͠Έͯ, RailsͷϑΥϧμߏΞϓϦέʔγϣϯͷ֓ཁ ΛͳΜͱͳ͘Ѳ͢Δ. • ޙʮϨʔϧʹͬͯʯॻ͍͍͖ͯ·͢ • Scaffold
ίϚϯυͰࠇຐज़Λମݧͯ͠ΈΔ • scaffold͕ԿΛ͍ͯ͠Δ͔ཧղ͠ͳͯ͘େৎ. ৄࡉRailsνϡʔτϦΞϧͰղઆ͞Ε͍ͯ·͢. େࣄ!! ߏ3BJMTνϡʔτϦΞϧͱେମҰॹ
ୈઅ • RailsνϡʔτϦΞϧͷ ୈ2ষʙୈ9ষΛ(ڧҾʹ) 1ͭʹ·ͱΊͨষ. • νϡʔτϦΞϧΛಡΜ ͩਓʹͱͬͯ෮शʹ, ͜Ε͔ΒಡΉਓʹͱͬ ͯ
Rails ͷงғؾΛମ ݧͰ͖ΔΑ͏ͳߏ.
͔͜͜Β࣮ࡍʹ ϥΠϒίʔσΟϯά ܗࣜͰղઆ͠·͢
• ࠓ scaffold Λͬͯ ͏̍ͭϞσϧΛ࡞ • ϞσϧΛؔ࿈͚ͨΓ, ϦϑΝΫλϦϯάͨ͠Γ ͯ͠Έ·͢ •
࠷ޙʹηΩϡϦςΟ, ࢀߟࢿྉͳͲͷམึर͍. ୈઅʙ࠷ऴઅ
͓ർΕ༷Ͱͨ͠
ຊষͷ·ͱΊ RailsΛ͡ΊΑ͏ http://railsguides.jp/getting_started.html
RailsΨΠυͱʁ • தڃऀʙ্ڃऀ͚ͷେܕϦϑΝϨϯε • ಡΈਐΊΔॱ൪ಛʹͳ͘ɺػೳຖʹղઆ: • e.g. Active Record ͷجૅɺόϦσʔγϣϯ
• e.g. Action View ͷ֓ཁɺϑΥʔϜϔϧύʔ • e.g. Action Controller ͷ֓ཁɺϧʔςΟϯά • ྫ֎: RailsΛ͡ΊΑ͏ → Rails νϡʔτϦΞϧ • Σϒ൛શฤແྉ! http://railsguides.jp/
ࢀߟใ
Rails νϡʔτϦΞϧ http://railstutorial.jp/
Model-View-Controller (MVC) ΞʔΩςΫνϟͷ֓೦ਤ Router Controller View Model Database Req. HTML
ୈ2ষ
͓Βͤ
CoEdo.rb ࠙ձ https://coedo-rails.doorkeeper.jp/events/23803 ࠓ !
ηϛφʔࢀՃճʹԠͯ͡Լ͛
ࠓޙͷਐΊํ • ڹ͕͋ΔݶΓɼܧଓతʹ࣮ࢪ͍͖ͯ͠·͢. • ࠓޙͷղઆηϛφʔͷεέδϡʔϧ → ৄࡉ: http://railstutorial.jp/seminars • ܽ੮࣌εΫϦʔϯΩϟετͰิͰ͖·͢
:) → ৄࡉ: http://४උத • Ξϯέʔτͷ͝ճʹڠྗ͍ͩ͘͞ ίϝϯτཝʹURLΛష͚·͢ :-) ※ ΞϯέʔτʹճΛૹ৴͢Δͱ, ɹಛయಈըͷใ͕දࣔ͞Ε·͢.
ୈ2ষ σϞΞϓϦέʔγϣϯ #RailsνϡʔτϦΞϧ http://railstutorial.jp/ Railsղઆηϛφʔ by ϠεϥϘ 3VCZPO3BJMTνϡʔτϦΞϧ ࣮ྫΛͬͯ3BJMTΛֶ΅͏ .JDIBFM)BSUM
ϚΠέϧɾϋʔτϧ
RailsΛ͡ΊΑ͏ Railsղઆηϛφʔ http://railsguides.jp/ by ϠεϥϘ