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 new flags - `rails new` のフラグから Rails を構成す...
Search
Shinji Nakamatsu
November 07, 2024
Programming
0
1.8k
rails new flags - `rails new` のフラグから Rails を構成するコンポーネントの変遷をザックリ眺める
Shinji Nakamatsu
November 07, 2024
Tweet
Share
Other Decks in Programming
See All in Programming
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
190
イベント駆動で成長して委員会
happymana
1
340
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
120
よくできたテンプレート言語として TypeScript + JSX を利用する試み / Using TypeScript + JSX outside of Web Frontend #TSKaigiKansai
izumin5210
6
1.8k
Make Impossible States Impossibleを 意識してReactのPropsを設計しよう
ikumatadokoro
0
290
初めてDefinitelyTypedにPRを出した話
syumai
0
430
ペアーズにおけるAmazon Bedrockを⽤いた障害対応⽀援 ⽣成AIツールの導⼊事例 @ 20241115配信AWSウェビナー登壇
fukubaka0825
6
2k
DevTools extensions で 独自の DevTool を開発する | FlutterKaigi 2024
kokiyoshida
0
110
Modular Monolith Monorepo ~シンプルさを保ちながらmonorepoのメリットを最大化する~
yuisakamoto
6
600
as(型アサーション)を書く前にできること
marokanatani
10
2.8k
ローコードSaaSのUXを向上させるためのTypeScript
taro28
1
650
Snowflake x dbtで作るセキュアでアジャイルなデータ基盤
tsoshiro
2
530
Featured
See All Featured
The Cult of Friendly URLs
andyhume
78
6k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Ruby is Unlike a Banana
tanoku
97
11k
A Philosophy of Restraint
colly
203
16k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.7k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
665
120k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
840
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
Side Projects
sachag
452
42k
Transcript
2024.11.07 @snaka `rails new` ͷϑϥά͔Β Rails Λߏ͢ΔίϯϙʔωϯτͷมભΛβ οΫϦோΊΔ rails new
fl ags
Index ൃද͢Δ͜ͱ • ࣗݾհ • r a ils_new_ f l
a gs ϦϙδτϦͷհ • R a ils ͷۙͷόʔδϣϯͰͷίϯϙʔωϯτͷมભʹ͍ͭͯ
ࣗݾհ • ͜ͷ3݄͔ΒΫϥυϑΝϯσΟϯάͷCAMPFIREͰόοΫΤϯυΤϯδχΞΛ͍ͬͯ·͢ɻ • ݩSIerग़(15͘Β͍) > Webۀք(15͘Β͍) • R a
ils 2.x ͋ͨΓ(هԱ͕͓΅Ζ͛)͔Β৮ͬͯ·͢ɻ • GitHub / X / Thre a ds : @sn a k a
ϦϙδτϦͷհ https://github.com/snaka/rails_new_ fl ags
None
None
ཧղෆͷ෦͕ଟ͍ͨΊɺޡͬͨ ใؚ͕·Ε͍ͯΔՄೳੑ͋Γ·͢ 🙇
Rails 6.1 ↔ 7.0
Rails 7.0.x Ͱಋೖ͞Εͨͷ • a sset pipeline Ͱ propsh a
ft ͕બՄೳʹ • • jsbundling-r a ils / cssbundling-r a ils gem ʹΑΓ JS όϯυϥ CSS ϑϨʔϜϫʔΫΛબ ͢ΔΈ͕ೖͬͨ •
Rails 7.0.x Ͱಋೖ͞Εͨͷ • hotwire ͕ಋೖ͞Ε… • • turbolinks ͕আ͞Εͨ
•
Rails 7.0.x Ͱফ͑ͨͷ • listen, spring, webp a cker gem
͕֎Εͨ • webp a cker → importm a p-r a ils ʹஔ͖͑ • spring ಋೖ͢Δ͔Ͳ͏͔Φϓγϣϯ ( Gem f ile ʹίϝϯτͱͯ͠ೖ͍ͬͯΔ ) • listen - ֎ΕͨܦҢ͕Θ͔Βͳ͔ͬͨ… • • pum a ࣗମ͕ඞਢʹͳͬͨͷͰ —skip-pum a ֎͞Εͨ
Rails 7.0 ↔ 7.1
Rails 7.1.x Ͱಋೖ͞Εͨͷ • σϑΥϧτͰ Docker ʹରԠͨ͠ (Docker f ile
, .dockerignore, etc.) • • JS όϯυϥͱͯ͠ bun ͕બՄೳʹ • • web-console gem Λ֎ͤΔΑ͏ʹ •
Rails 7.1 ↔ 7.2
Rails 7.2.x Ͱಋೖ͞Εͨͷ • devcont a inerʹରԠͨ͠ • • rubocop-r
a ils-om a k a se, br a kem a n ͕σϑΥϧτͰೖΔΑ͏ʹͳͬͨ • • GitHub Actions ͷ work f low ͕σϑΥϧτͱͯ͠༻ҙ͞ΕΔΑ͏ʹͳͬͨ •
Rails 7.2 ↔ 8.0
Rails 8.0.x Ͱಋೖ͞ΕΔͷ • k a m a l ͕σϑΥϧτͷσϓϩΠπʔϧͱͯ͠ಋೖ͞ΕΔ
• • solid_c a che, solid_queue, solid_c a ble ͕σϑΥϧτͰಋೖ͞ΕΔ • ैདྷ Redis ΛόοΫΤϯυͱͯ͠ར༻͢Δ͜ͱͷଟ͔ͬͨɺΩϟογϡɾΩϡʔɾPub/Sub Λ RDBMS ΛόοΫΤϯυͱͯ͠ར༻͢Δ •
Rails 8.0.x Ͱಋೖ͞ΕΔͷ • Thruster ͕σϑΥϧτͰಋೖ͞ΕΔ • •
rails new ͷΦϓγϣϯΛோΊͯ ͍Δͱ͍Ζ͍Ζݟ͑ͯ͘Δ
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠