Upgrade to Pro — share decks privately, control downloads, hide ads and more …

rails new flags - `rails new` のフラグから Rails を構成す...

rails new flags - `rails new` のフラグから Rails を構成するコンポーネントの変遷をザックリ眺める

Shinji Nakamatsu

November 07, 2024
Tweet

Other Decks in Programming

Transcript

  1. Index ൃද͢Δ͜ͱ • ࣗݾ঺հ • r a ils_new_ f l

    a gs ϦϙδτϦͷ঺հ • R a ils ͷ௚ۙͷόʔδϣϯͰͷίϯϙʔωϯτͷมભʹ͍ͭͯ
  2. Rails 7.0.x Ͱಋೖ͞Εͨ΋ͷ • a sset pipeline Ͱ propsh a

    ft ͕બ୒Մೳʹ • • jsbundling-r a ils / cssbundling-r a ils gem ʹΑΓ JS όϯυϥ΍ CSS ϑϨʔϜϫʔΫΛબ୒ ͢Δ࢓૊Έ͕ೖͬͨ •
  3. 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 ͸֎͞Εͨ
  4. Rails 7.1.x Ͱಋೖ͞Εͨ΋ͷ • σϑΥϧτͰ Docker ʹରԠͨ͠ (Docker f ile

    , .dockerignore, etc.) • • JS όϯυϥͱͯ͠ bun ͕બ୒Մೳʹ • • web-console gem Λ֎ͤΔΑ͏ʹ •
  5. 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 ͕σϑΥϧτͱͯ͠༻ҙ͞ΕΔΑ͏ʹͳͬͨ •
  6. Rails 8.0.x Ͱಋೖ͞ΕΔ΋ͷ • k a m a l ͕σϑΥϧτͷσϓϩΠπʔϧͱͯ͠ಋೖ͞ΕΔ

    • • solid_c a che, solid_queue, solid_c a ble ͕σϑΥϧτͰಋೖ͞ΕΔ • ैདྷ Redis ΛόοΫΤϯυͱͯ͠ར༻͢Δ͜ͱͷଟ͔ͬͨɺΩϟογϡɾΩϡʔɾPub/Sub Λ RDBMS ΛόοΫΤϯυͱͯ͠ར༻͢Δ •