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
What Ever Happened to Baby Rails App?
Search
Miyuki Tomiyama
March 04, 2023
Programming
1
1.4k
What Ever Happened to Baby Rails App?
Miyuki Tomiyama
March 04, 2023
Tweet
Share
More Decks by Miyuki Tomiyama
See All by Miyuki Tomiyama
You Can Make It All True And You Can Leave It Undone/ fjordbootcamp_lt10
eatplaynap
1
780
輪読会を主催してみよう/Rails Girls Gathering 2021
eatplaynap
2
840
DO THE NEXT RIGHT THING/fjordbootcamp_lt06
eatplaynap
1
910
Other Decks in Programming
See All in Programming
Patched fetch did not work
quramy
6
480
上手に付き合うコンポーネントテスト
quramy
3
1.2k
Modern Functional Fluent CFML REST by Luis Majano
ortus24
0
110
NANIMACHI
naokiito
0
930
Делим тесты между QA и разработчиком
mariyasaygina
0
460
Iteratorでページネーションを実現する
sonatard
3
700
Kotlin Multiplatform at Stable and Beyond (Kotlin Vienna, October 2024)
zsmb
2
310
Интеграционное тестирование: как приручить хаос
mariyasaygina
0
460
Frontend Magic mit CSS Houdini
joergneumann
0
420
標準ライブラリの動向とイテレータのパフォーマンス
makki_d
3
180
利用者視点で考える、イテレータとの上手な付き合い方
syumai
4
210
Composing an API the *right* way (Droidcon New York 2024)
zsmb
2
540
Featured
See All Featured
Optimizing for Happiness
mojombo
375
69k
Music & Morning Musume
bryan
46
6.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
230
17k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
5
210
The Mythical Team-Month
searls
218
43k
Clear Off the Table
cherdarchuk
91
320k
How to train your dragon (web standard)
notwaldorf
87
5.6k
Building an army of robots
kneath
302
42k
Fontdeck: Realign not Redesign
paulrobertlloyd
80
5.2k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
41
6.5k
A better future with KSS
kneath
235
17k
It's Worth the Effort
3n
182
27k
Transcript
ʮॳΊͯRailsΞϓϦΛϦϦʔ ε͠·ͨ͠ʂʯͷͦͷޙ What Ever Happened to Baby Rails App? 2023/3/4
ࣛࣇౡRubyձٞ02 @eatplaynap τϛʔ
ࣗݾհ τϛʔ/ˏeatplaynap RubyίϛϡχςΟͱԑͷਂ͍ϑΟϤϧ υϒʔτΩϟϯϓΛ20228݄ʹଔۀ 202211݄͔ΒגࣜձࣾTebikiͰϓϩ άϥϚʔͱͯ͠ಇ͍ͯ4ϲ݄͘Β͍ 1993ੜ·ΕͰRubyͱಉ͍🤗
ʮॳΊͯϦϦʔεͨ͠RailsΞϓϦʯͱ • ϓϩάϥϛϯάεΫʔϧͷଔۀ੍࡞ • ͍ΘΏΔʮϙʔτϑΥϦΦΞϓϦʯ • ब৬׆ಈͷͰɺεΫʔϧͰഓͬͨεΩϧܦݧΛࣔͨ͢ΊͷՌ ͱͯ͠ΘΕΔ • RailsͰ࡞ΒΕ͍ͯΔͷ͕ଟ͍(͔ͬͨʁ)
• ࢲϑΟϤϧυϒʔτΩϟϯϓͷଔۀ੍࡞ͱͯ͠RailsΞϓϦΛϦϦʔε
🤔 🤗
ϑΟϤϧυϒʔτΩϟϯϓʹ͍ͭͯͷਖ਼͍͠ใˣΛࢀর͍ͩ͘͞ https://speakerdeck.com/komagata/zi-keshui-nijin-karu
ࢲͷϙʔτϑΥϦΦΞϓϦ Shadone (͠ΌͲʔΜ) https://www.shadone.net
YouTubeಈըͷҰ෦Λϧʔϓ࠶ੜͤ͞Δ͜ͱͰγϟυʔΠϯάֶशΛߦ͏ Rails6ͱVue.js 2.6Ͱ࡞
ϙʔτϑΥϦΦΞϓϦ Λҡ͍࣋ͯ͠Δྫଟ ͘ͳ͍ FBCଔۀੜͷࣗ࡞ΞϓϦͷҰཡͱͯ͠ެ։͞ Ε͍ͯΔ43݅த8݅ͷΈ͕ࠓՔಇத(https:// bootcamp.fjord.jp/articles/51) ͱͱब৬ͷͨΊͷͷͳͷͰɺब৬ͨ͠ ΒϝϯςΛΊΔέʔε͕ଟ͍ͱࢥΘΕΔ ɾଟ ɾڵຯ͕ബΕΔ
ɾҡ࣋අ͕͔͞Ή
Shadoneͷ߹… 20229݄12ϦϦʔε ޙͷݱࡏՔಇத
ϦϦʔε͔Βؒ Shadoneͱͷ͖߹͍ํ͕࣌ؒͱͱ ʹࣗͷͳ͔ͰͲ͏มԽ͍ͯͬͨ͠ͷ ͔
ϦϦʔε͔Βब৬·Ͱ • TwitterͰӨڹྗͷ͋Δํ͕πΠʔτͯ͘͠Εͯͦͦ͜͜όζͬͨ • ະܦݧͱͯ͠ͷब৬׆ಈ1ࣾͰఆΛಘͨ • ShadoneʮϓϩάϥϚʔͱ͍͚ͯͬͯ͠Δ͔ɺͱ͍͏ࣗ৴ͷࠜ ڌʯ
ब৬ޙ • ϑΟϤϧυϒʔτΩϟϯϓͰษڧͨ͠ͷʹࣗݱͰʹཱ͍ͬͯ ͳ͍͠ແྗͩͱײ͡Δ • ձࣾͷϓϩμΫτͱಉٕ͡ज़ελοΫ͚ͩͲɺࣗͷΞϓϦ͋·Γ ʹஓͳग़དྷ • Shadoneʮաڈͷӫޫʯ
ब৬͔Β1ϲ݄ޙ • ٕज़Λͬͱʹ͚ͭͯແྗײΛ͍ͨ͠ • ͓٬͞Μ͕͍ΔձࣾͷϓϩμΫτΛ͍͡Δͷා͍ͱࢥ͍ͬͯΔதɺ ShadoneͷଘࡏΛࢥ͍ग़͢ • Shadoneʮ৽ֶ͘͠Μٕͩज़Λࢼ࣮͢ݧʯ
ShadoneΛ௨ͯ͡ࣄ͕Ͱ͖ΔΑ͏ʹͳΔκʂ • ͓ʹࣄͰֶΜͩ͜ͱʹ͚͍ͭͨ͜ͱΛࢼ͢ͱͯ͠Shadone Λ׆༻ • Herokuʹ࿈བྷͯ͠আ͞ΕͨDBͷ෮چ • JestͷಋೖͱϑϩϯτΤϯυͷςετ࡞ • RailsͷϚΠφʔόʔδϣϯΞοϓσʔτͱDependabotಋೖ
• εϚϗͰͷϘλϯஔΛࣗࣾϓϩμΫτͱಉ͡Ґஔʹमਖ਼
ࣛࣇౡRubyձٞ02ͷొஃऀืूΛΈ͚ͭΔ
ʮஓͳʯϙʔτϑΥϦΦΞϓϦΛ ʮຊۀͷͨΊͷ࿅शॴʯͱͯ͠ϦαΠΫϧ͠ ͯ༗ޮ׆༻͠ɺࣄ͕Ͱ͖ΔΑ͏ʹͳΓ·͠ ͨʂʂͬͯൃද͍ͨ͠ʂ
ϓϩάϥϛϯά͕ ָ͘͠ͳ͘ͳͬͨ😭
ָ͘͠ͳ͘ͳͬͨཧ༝ • ٳࣄΛ͍ͯ͠ΔؾͰؾ͕ٳ·Βͳ͍ • ࣗͷΞϓϦΛʮຊۀͷͨΊͷ࿅शʯͱΈͳ͍ͨͤ͠Ͱɺେʹҭ ͯΑ͏ͱ͍͏ؾ͕࣋ͪബΕͨ • ʮࣄ͕Ͱ͖ΔΑ͏ʹͳΓ͍ͨʯͱ͍͏త͕ঝೝཉٻͱ݁ͼ͍ͭͯ ͠·ͬͨ
ԿނϓϩάϥϚʔʹͳͬͨΜ͚ͩͬʁ
None
ࣄ͕Ͱ͖Δˠָ͍͠Ͱͳͯ͘ ָ͍͠ˠࣄ͕Ͱ͖ΔΑ͏ʹͳΔ ͳͷ͔…ʁ
ࢲָ͠Έ͍ͨʂ ͱ͍͏͔Shadone࡞ͬͯͨͱ͖ࢲ ָ͠ΜͰͨΜͩͬͨ…ʂ
ݱࡏ • ShadoneΛϝϯς͢Δཧ༝Λʮࣄ͕Ͱ͖ΔΑ͏ʹͳΔͨΊʯ͔Βʮϓϩάϥϛ ϯάΛָ͠ΉͨΊʯʹม͑ͨ • ࣄʹ݁͢ΔΘ͚Ͱͳ͍͕ڵຯΛ࣋ͬͨ৽ٕज़Λࢼ͢ • WebpackerΛണ͕ͯ͠vite_railsܦ༝ͰViteಋೖ • ࠓlocalͰςετ͕ͬͱ௨ΔΑ͏ʹͳͬͨঢ়ଶ
• ࣗ༝ͳࢼߦࡨޡ͕ΊͬͪΌָ͍͠ʂ • ShadoneΛ௨ͯ͡ϓϩάϥϛϯάΛָ͠Ήؾ࣋ͪʹ࠶ձ
·ͱΊ • ϙʔτϑΥϦΦΞϓϦब৬ޙؾָʹٕज़Λࢼ͢༡ͼͱͯ͠༗ޮ ׆༻Ͱ͖Δ • ஓͰ͖͋ͬͯউखʹίʔυΛॻ͖ɺࣗͷͨΊʹָ͘͠ϓϩ άϥϛϯάΛ͍ͯͨ͠ͱ͖Λࢥ͍ग़ͤΔوॏͳॴͰ͋Δ • ཧͷϓϩάϥϚʔָ͠ΜͰ͍ΔRubyίϛϡχςΟͷઌഐํɻ͍͍ ϓϩάϥϚʔʹͳΔͨΊʹϓϩάϥϛϯάίϛϡχςΟ׆ಈΛָ͠
ΜͰ͍͖͍ͨʂʂ
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠