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.5k
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
810
輪読会を主催してみよう/Rails Girls Gathering 2021
eatplaynap
2
880
DO THE NEXT RIGHT THING/fjordbootcamp_lt06
eatplaynap
1
930
Other Decks in Programming
See All in Programming
クリエイティブコーディングとRuby学習 / Creative Coding and Learning Ruby
chobishiba
0
3.9k
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
260
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
270
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
Mermaid x AST x 生成AI = コードとドキュメントの完全同期への道
shibuyamizuho
0
160
CSC305 Lecture 26
javiergs
PRO
0
140
Criando Commits Incríveis no Git
marcelgsantos
2
170
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
720
Jakarta EE meets AI
ivargrimstad
0
230
talk-with-local-llm-with-web-streams-api
kbaba1001
0
170
Featured
See All Featured
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Why Our Code Smells
bkeepers
PRO
335
57k
The Language of Interfaces
destraynor
154
24k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
For a Future-Friendly Web
brad_frost
175
9.4k
Facilitating Awesome Meetings
lara
50
6.1k
Visualization
eitanlees
146
15k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
GraphQLとの向き合い方2022年版
quramy
44
13k
Documentation Writing (for coders)
carmenintech
66
4.5k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
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ίϛϡχςΟͷઌഐํɻ͍͍ ϓϩάϥϚʔʹͳΔͨΊʹϓϩάϥϛϯάίϛϡχςΟ׆ಈΛָ͠
ΜͰ͍͖͍ͨʂʂ
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠