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
97
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
6.9k
多様なメンター、多様な基準
yasulab
6
20k
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
1
220
テストも、国際化も! 小中高生クリエータ支援プログラム『未踏ジュニア』を支える技術
yasulab
1
330
Matz に頼られたので張り切って2時間ほどドイツと日本の互いの Ruby 学習事情についてディスカッションした話
yasulab
1
860
困ったときのガイドライン / We Support You in Any Situation
yasulab
2
4.4k
英語学習から海外発表までの流れ
yasulab
18
4.5k
未踏ジュニア公式情報まとめ / Mitou Junior Highlights for Creators
yasulab
1
350
多様な分野、多様な世代 / Various Persons on the Earth
yasulab
0
300
Other Decks in Education
See All in Education
2026年度春学期 統計学 第3回 クロス集計と感度・特異度,データの可視化 (2026. 4. 23)
akiraasano
PRO
0
140
2026年度春学期 統計学 第1回 イントロダクション ー 統計的なものの見方・考え方について (2026. 4. 9)
akiraasano
PRO
0
150
0506
cbtlibrary
0
190
Laura Wilson - The Quarterly PR Pivot
laurawilsonbseo1
1
330
✅ レポート採点基準 / How Your Reports Are Assessed
yasslab
PRO
0
360
「機械学習と因果推論」入門 ⑤ 因果効果推定の一般化
masakat0
0
110
Catecismo 26 #1 - Aula inaugural
cm_manaus
0
170
0415
cbtlibrary
0
210
2026年度春学期 統計学 第2回 統計資料の収集と読み方 (2026. 4. 16)
akiraasano
PRO
0
170
[2026前期火5] 論理学(京都大学文学部 前期 第1回)「ハルシネーションを外部世界との対応を考えずに見分ける方法」
yatabe
0
1.1k
「機械学習と因果推論」入門① 因果効果とは
masakat0
0
1.8k
Managing Complexity: India’s Semiconductor Ambitions & New Industrial Policy
vyadav
0
170
Featured
See All Featured
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
250
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
850
Testing 201, or: Great Expectations
jmmastey
46
8.2k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.7k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
Building the Perfect Custom Keyboard
takai
2
790
The Cost Of JavaScript in 2023
addyosmani
55
10k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Git: the NoSQL Database
bkeepers
PRO
432
67k
Building Adaptive Systems
keathley
44
3k
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
140
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 ϠεϥϘ