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
PRO
May 10, 2015
Education
0
93
Railsガイド「Railsをはじめよう」
Railsガイド - Railsをはじめよう
http://railsguides.jp/getting_started.html
Yohei Yasukawa
PRO
May 10, 2015
Tweet
Share
More Decks by Yohei Yasukawa
See All by Yohei Yasukawa
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
PRO
1
150
自己紹介 / who-am-i
yasulab
PRO
3
5.4k
テストも、国際化も! 小中高生クリエータ支援プログラム『未踏ジュニア』を支える技術
yasulab
PRO
1
210
Matz に頼られたので張り切って2時間ほどドイツと日本の互いの Ruby 学習事情についてディスカッションした話
yasulab
PRO
1
710
困ったときのガイドライン / We Support You in Any Situation
yasulab
PRO
2
4.1k
英語学習から海外発表までの流れ
yasulab
PRO
18
4.3k
多様なメンター、多様な基準
yasulab
PRO
5
19k
未踏ジュニア公式情報まとめ / Mitou Junior Highlights for Creators
yasulab
PRO
1
290
多様な分野、多様な世代 / Various Persons on the Earth
yasulab
PRO
0
260
Other Decks in Education
See All in Education
Pythonパッケージ管理 [uv] 完全入門
mickey_kubo
23
24k
Common STIs in London: Symptoms, Risks & Prevention
medicaldental
0
140
教える側は、初学者に谷越えまで伴走すべき(ダニング・クルーガー効果からの考察)
hysmrk
3
130
学びは趣味の延長線
ohmori_yusuke
0
100
AIの時代こそ、考える知的学習術
yum3
2
200
2025年度春学期 統計学 第14回 分布についての仮説を検証する ー 仮説検定(1) (2025. 7. 10)
akiraasano
PRO
0
140
AWSと共に英語を学ぼう
amarelo_n24
0
150
Alumnote inc. Company Deck
yukinumata
0
1.9k
核燃料政策を問う─英国の決断と日本
hide2kano
0
180
Tutorial: Foundations of Blind Source Separation and Its Advances in Spatial Self-Supervised Learning
yoshipon
1
150
大学院進学について(2025年度版)
imash
0
120
~キャラ付け考えていますか?~ AI時代だからこそ技術者に求められるセルフブランディングのすゝめ
masakiokuda
7
460
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
520
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.7k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Faster Mobile Websites
deanohume
309
31k
Automating Front-end Workflow
addyosmani
1370
200k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Producing Creativity
orderedlist
PRO
347
40k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
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 ϠεϥϘ