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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Yohei Yasukawa
May 10, 2015
Education
0
96
Railsガイド「Railsをはじめよう」
Railsガイド - Railsをはじめよう
http://railsguides.jp/getting_started.html
Yohei Yasukawa
May 10, 2015
Tweet
Share
More Decks by Yohei Yasukawa
See All by Yohei Yasukawa
自己紹介 / who-am-i
yasulab
6
6.5k
多様なメンター、多様な基準
yasulab
6
19k
💎 My RubyKaigi Effect in 2025: Top Ruby Companies 🌐
yasulab
1
200
テストも、国際化も! 小中高生クリエータ支援プログラム『未踏ジュニア』を支える技術
yasulab
1
310
Matz に頼られたので張り切って2時間ほどドイツと日本の互いの Ruby 学習事情についてディスカッションした話
yasulab
1
820
困ったときのガイドライン / We Support You in Any Situation
yasulab
2
4.3k
英語学習から海外発表までの流れ
yasulab
18
4.4k
未踏ジュニア公式情報まとめ / Mitou Junior Highlights for Creators
yasulab
1
330
多様な分野、多様な世代 / Various Persons on the Earth
yasulab
0
290
Other Decks in Education
See All in Education
IHLヘルスケアリーダーシップ研究会17期説明資料
ihlhealthcareleadership
0
2.1k
Data Representation - Lecture 3 - Information Visualisation (4019538FNR)
signer
PRO
1
2.9k
Gesture-based Interaction - Lecture 6 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2k
資格支援制度-株式会社HIT
kabushikigaisya_hit
0
520
Introduction - Lecture 1 - Next Generation User Interfaces (4018166FNR)
signer
PRO
2
4.5k
Measuring your measuring
jonoalderson
2
760
Leveraging LLMs for student feedback in introductory data science courses (Stats Up AI)
minecr
1
240
0121
cbtlibrary
0
150
160人の中高生にAI・技術体験の講師をしてみた話
shuntatoda
1
390
Introduction - Lecture 1 - Advanced Topics in Big Data (4023256FNR)
signer
PRO
2
2.3k
The World That Saved Me: A Story of Community and Gratitude
_hashimo2
4
540
GOBUSATA紹介
chankawa919
0
130
Featured
See All Featured
Scaling GitHub
holman
464
140k
RailsConf 2023
tenderlove
30
1.4k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.6k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
560
Unsuck your backbone
ammeep
672
58k
Rails Girls Zürich Keynote
gr2m
96
14k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
Building the Perfect Custom Keyboard
takai
2
710
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
760
Odyssey Design
rkendrick25
PRO
2
550
Chasing Engaging Ingredients in Design
codingconduct
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 ϠεϥϘ