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

Ruby on Rails 7.0 で 新規サービスをローンチした

よしこ
February 18, 2022

Ruby on Rails 7.0 で 新規サービスをローンチした

銀座Rails#42 にてLT登壇した際の発表資料です
https://ginza-rails.connpass.com/event/237582/

よしこ

February 18, 2022
Tweet

More Decks by よしこ

Other Decks in Programming

Transcript

  1. Ruby on Rails 7.0 Ͱ
    ৽نαʔϏεΛϩʔϯνͨ͠
    ٢ຊ߁و / GMO PEPABO inc.
    2022.02.18 ۜ࠲Rails #42
    1

    View full-size slide

  2. 2
    ࣗݾ঺հ
    Α͜͠ ٢ຊ ߁و

    CTOࣨ ࣛࣇౡΤϯδχΞϦϯάνʔϜ
    ● ίϩφՒॳظͷ2020೥6݄ೖࣾ (౰࣌29ࡀ)


    ● ཧֶྍ๏͔࢜ΒWebΤϯδχΞ΁ະܦݧస৬
    ● લ৬͸৬һ30໊ͷհޢอݥࢪઃͰՈ଒ܦӦ
    ● ୈҰࢠͷѪ່͕ೖࣾલ೔ʹര஀
    Twitter @yoshikouki_

    View full-size slide

  3. 3
    ΞδΣϯμ
    1. ৽نαʔϏεʮGMOϨϯγϡʯͷ঺հ
    2. ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    3. νʔϜ։ൃͷઓུ
    4. ࠷৽ͦ͜ࢸߴ
    5. ΞοϓσʔτͰ͖ͨഎܠ

    View full-size slide

  4. 4
    ΞδΣϯμ
    1. ৽نαʔϏεʮGMOϨϯγϡʯͷ঺հ
    2. ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    3. νʔϜ։ൃͷઓུ
    4. ࠷৽ͦ͜ࢸߴ
    5. ΞοϓσʔτͰ͖ͨഎܠ

    View full-size slide

  5. ৽نαʔϏεʮGMOϨϯγϡʯͷ঺հ
    ʮ࣍ͷදݱऀʯΛࢧ͑ΔαʔϏε
    ● GMOϖύϘ͸ɺʮΠϯλʔωοτͰՄೳੑΛͭͳ͛Δɺͻ
    Ζ͛ΔʯΛϛογϣϯʹܝ͛ɺΠϯλʔωοτ্Ͱͷࣗݾද
    ݱΛߦ͏͢΂ͯͷํΛ“ΫϦΤΠλʔ”Ͱ͋Δͱߟ͑ɺఏڙ
    αʔϏεΛ௨ͨ͡ࢧԉΛߦ͖ͬͯ·ͨ͠ɻ


    ● GMOϖύϘͰ͸ɺ࣍ੈ୅ΫϦΤΠλʔͷҭ੒ଅਐͷҰॿͱͳ
    Δ͜ͱΛ໨ࢦ͠ɺʮGMOϨϯγϡʯʹΑΓνʔϜɾڭࣨӡӦ
    ʹ͓͚Δ࿈བྷɾूۚۀ຿ͷDXԽΛ࣮ݱ͠ɺ͋ΒΏΔֶͼɾ
    දݱͷ৔ͷӡӦࢧԉΛߦͬͯ·͍Γ·͢ɻ


    νʔϜɾڭࣨͰͷ࿈བྷ΍ूۚΛΫϥ΢υ্ͰҰݩ؅ཧͰ͖Δ
    ʮGMOϨϯγϡʯͷBeta൛Λຊ೔1/25ʢՐʣΑΓఏڙ։࢝
    6

    View full-size slide

  6. 7
    ΞδΣϯμ
    1. ৽نαʔϏεʮGMOϨϯγϡʯͷ঺հ
    2. ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    3. νʔϜ։ൃͷઓུ
    4. ࠷৽ͦ͜ࢸߴ
    5. ΞοϓσʔτͰ͖ͨഎܠ

    View full-size slide

  7. 8
    ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    গਓ਺νʔϜ
    • ϐβҰຕͰ଍ΓΔνʔϜਓ਺


    • ΤϯδχΞ͸2ʙ3໊

    View full-size slide

  8. 9
    ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    ࠷଎Ͱ։ൃͯ͠ݕূ͢Δ
    • ଎౓͕ԿΑΓॏࢹ͞ΕΔ


    ○ গਓ਺͔ͭελʔτΞοϓͰͷϓϩμΫτ։ൃ͸

    Ruby on Rails ͷಘҙྖҬ


    • GMOϖύϘͷ஝͖͑ͯͨ஌ݟ΍ਓࡒ


    ○ ΄΅શͯͷࣗࣾαʔϏεͰ Ruby on Rails Λ࢖༻


    ○ Ruby ίϛολʔΛ࢝Ίͱͯ͠ɺ

    Ruby ʹ໌Δ͍ΤϯδχΞ͕ଟ਺ࡏ੶͍ͯ͠Δ

    View full-size slide

  9. 10
    ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    ੒ख़ٕͨ͠ज़ͷϝϦοτ
    • ଎౓͕࠷ॏཁͳҰํͰɺηΩϡϦςΟ͸୲อ͠ͳ͚Ε͹ͳΒͳ͍


    • Ruby ΍ Ruby on Rails ͸ྺ࢙͕͋ΓɺͦΕ͕෢ثͰ΋͋Δ

    View full-size slide

  10. 11
    ΞδΣϯμ
    1. ৽نαʔϏεʮGMOϨϯγϡʯͷ঺հ
    2. ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    3. νʔϜ։ൃͷઓུ
    4. ࠷৽ͦ͜ࢸߴ
    5. ΞοϓσʔτͰ͖ͨഎܠ

    View full-size slide

  11. ● Ұिؒ୯ҐͷεϓϦϯτ


    ● λεΫ؅ཧ͸ Notion Λ׆༻
    νʔϜ։ൃͷઓུ
    12
    εΫϥϜ։ൃ দ஛കͱ૲ϓϥϯ
    ● ࣮ݱͷদ஛കϓϥϯΛߟ͑Δ


    ● ͦͯ͠ʮ૲ϓϥϯʯͰ࣮૷
    12
    όʔδϣϯΞοϓ
    ● renovate Ͱ௨஌


    ○ ि࣍Ͱ࢓૊ΈԽ


    ● ςετΧόϨοδ͕90%௒͑


    ○ ҆৺ͯ͠ϚʔδͰ͖Δ
    ςετॻ͍ͯͳ͍ͱ͔͓લͦr (ུ
    ʮ૲ϓϥϯʯ͸ྲྀߦޠେ৆
    Notion ͕མͪΔ = ୀۈ

    View full-size slide

  12. 13
    ΞδΣϯμ
    1. ৽نαʔϏεʮGMOϨϯγϡʯͷ঺հ
    2. ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    3. νʔϜ։ൃͷઓུ
    4. ࠷৽ͦ͜ࢸߴ
    5. ΞοϓσʔτͰ͖ͨഎܠ

    View full-size slide

  13. Ruby 3.1
    Ruby on Rails 7
    ● ΞοϓσʔτPR͕ݐͭ

    →ʮ͋ɺ΍Γ·͢ʯͰରԠ
    ● ґଘͷରԠ଴͕ͪ͋ͬͨ
    ● ߹ܭ1-2Ӧۀ೔ͰΞοϓσʔ
    τ׬ྃ
    ● ΞοϓσʔτPR͕ݐͭ

    →ʮ͋ɺ΍Γ·͢ʯͰରԠ
    ● Ҿ͔͔ͬΓϙΠϯτ΋গ͠
    ͋ͬͨ
    ● ߹ܭ2-3Ӧۀ೔ͰΞοϓσʔ
    τ͕׬ྃ
    ࠷৽ͦ͜ࢸߴ
    ΞϓϦέʔγϣϯͷ൓Ԡ͕࠷େ40%΄Ͳߴ଎Խͨ͠
    ͜ͱΛ࣮ײ (※ݸਓͷײ૝Ͱ͢)


    14
    14

    View full-size slide

  14. 15
    ΞδΣϯμ
    1. ৽نαʔϏεʮGMOϨϯγϡʯͷ঺հ
    2. ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    3. νʔϜ։ൃͷઓུ
    4. ࠷৽ͦ͜ࢸߴ
    5. ΞοϓσʔτͰ͖ͨഎܠ

    View full-size slide

  15. ΞοϓσʔτͰ͖ͨഎܠ
    16
    ● ʮϓϩμΫτॳظ͔ͩΒΞοϓσʔτ͠΍͔ͬͨ͢ʯͱ͍͏ͷ͸ຊ౰ʹͦͷ௨Γ
    ● ҰํͰɺ೔ʑͷੵΈॏͶͷ͓ӄͰΞοϓσʔτͷਓతίετɾ৺ཧతϋʔυϧ͕ѹ౗తʹ
    Լ͕͍ͬͯͨ
    ○ ʮ͋ɺ΍Γ·͢ʯͰߦಈͰ͖Δૉ஍͕࡞ΒΕ͍ͯͨ
    ○ େ෦෼ͷίʔυ඼࣭ΛςετͰ୲อͰ͖͍ͯͨ
    ○ renovate ͰΞοϓσʔτΛ࢓૊ΈԽͯ͠ґଘؔ܎͕΄΅࠷৽
    ● ։ൃॳظ͔Βݱࡏ·ͰʹɺΧόϨοδ͕Լ͕Δ͜ͱͳ͘ɺΉ͠Ζ্͕͍ͬͯΔ
    ○ 80%→90
    %

    ○ ༷ʑͳཁҼ͕͋Δ͕ɺςετΛॻ͖ଓ͚ͨԸܙͰ͋Δ͜ͱ͸ؒҧ͍ͳ͍
    ΞοϓσʔτͰ͖ͨഎܠ

    View full-size slide

  16. 17
    ΞδΣϯμ
    1. ৽نαʔϏεʮGMOϨϯγϡʯͷ঺հ
    2. ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    3. νʔϜ։ൃͷઓུ
    4. ࠷৽ͦ͜ࢸߴ
    5. ΞοϓσʔτͰ͖ͨഎܠ
    6. New
    ࠷ޙʹ

    View full-size slide

  17. 18
    Ҋ಺
    ࣛࣇౡϦϞʔτϫʔΫ࠲ஊձΛ։࠵ʂ
    ΤϯδχΞΛืू͍ͯ͠·͢ʂ
    ࣛࣇౡ͔ΒͰ΋ ̌→̍ ͷαʔϏε։ൃʹࢀըͰ͖Δ
    ৔ॴͰ͢


    ·ͣ͸ؾܰͳ໘ஊ͔Β͍͔͕Ͱ͠ΐ͏͔
    ໌೔։࠵Ͱ͢ʂ


    ৄ͘͠͸ connpass ϖʔδ΁ʂ


    https://kagotech.connpass.com/event/236489/

    View full-size slide

  18. 19
    ΞδΣϯμ
    1. ৽نαʔϏεʮGMOϨϯγϡʯͷ঺հ
    2. ͳͥ Ruby on Rails Ͱ։ൃͨ͠ͷ͔
    3. νʔϜ։ൃͷઓུ
    4. ࠷৽ͦ͜ࢸߴ
    5. ΞοϓσʔτͰ͖ͨഎܠ

    View full-size slide