Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Active Recordͷ ͜͏ଆ Place: Rails Developers Beer Bash Date: 2019-09-26 Speaker: େխ࢙
Slide 2
Slide 2 text
ࣗݾհ • ໊લɿେխ࢙ • ৬ۀɿϑϦʔϥϯεͷRubyϓϩάϥϚ • ҰݴɿVimConfͷӡӦͬͯ·͢ɺ11݄3։ ࠵ʂνέοτ·ͩ͋ΔΑʂ • ೋݴɿGrow.rbͱ͍͏ίϛϡχςΟͬͯ·͢
Slide 3
Slide 3 text
ActiveRecord ͖ͳਓ✋
Slide 4
Slide 4 text
Ruby Weekly ͍ͬͯΔਓ✋
Slide 5
Slide 5 text
ࠓͷLTͷ͖͔͚ͬ
Slide 6
Slide 6 text
https://rubyweekly.com/ issues/467
Slide 7
Slide 7 text
> Active Record is the worst of all the popular ORM patterns
Slide 8
Slide 8 text
No content
Slide 9
Slide 9 text
ຊʹͦ͏ͳͷ͔ʁ
Slide 10
Slide 10 text
ʮRuby on Railsͷ ਖ਼ମͱ͖߹͍ํʯ https://speakerdeck.com/yasaichi/what-is-ruby-on-rails- and-how-to-deal-with-it
Slide 11
Slide 11 text
Active RecordͰίʔϧ όοΫͱόϦσʔγϣϯͰ σʔλϞσϧͱϢʔεέʔε ͕ີ݁߹͓ͯ͠ΓɺͦΕ͕ߴ ։ൃΛՄೳʹ͍ͯ͠Δ
Slide 12
Slide 12 text
ີ݁߹ѱ☠
Slide 13
Slide 13 text
Active Recordಉ͡σʔλ ϞσϧʹෳͷϢʔεέʔε ͕ద༻͞ΕΔͱਏ͘ͳΔ
Slide 14
Slide 14 text
͜Ε·ͰʹఏҊ͞Εͨղܾࡦ
Slide 15
Slide 15 text
ʮRuby (off|with) the Railsʯ https://speakerdeck.com/shinpeim/ruby-off-with-the- rails
Slide 16
Slide 16 text
Ϣʔεέʔε͕ҟͳΔෳͷ Ϟσϧ͕ಉ͡ςʔϒϧΛࢀর ͢Δ
Slide 17
Slide 17 text
ʮApplicationModel ͷ͋Δ ෩ܠʯ https://speakerdeck.com/hshimoyama/rails-with- applicationmodel
Slide 18
Slide 18 text
ςʔϒϧʹඥ͔ͳ͍Ϟσϧ ʢApplicationModelʣΛఆ ٛ͢Δ
Slide 19
Slide 19 text
ͦͯ͠ɺօ͞Μ͓ͳ͡Έͷ αʔϏεΫϥε
Slide 20
Slide 20 text
ͲΕΑͦ͞͏☺
Slide 21
Slide 21 text
͕ͩͲΕެࣜͰͳ͍
Slide 22
Slide 22 text
ͱ͜ΖͰɺ࠷ۙͷDHHͷൃݴ Λฉ͍͍ͯΔͱɺ ʮ౷߹͞ΕͨγεςϜ ʢintegrated systemsʣʯ ʮݫͳϞϊϦε ʢmajestic monolithsʣʯ ͷݴٴ͕ଟ͍
Slide 23
Slide 23 text
https://rubyonrails.org/ doctrine/#integrated- systems
Slide 24
Slide 24 text
໌֬ͳϞϊϦεࢦ
Slide 25
Slide 25 text
࠷ۙͷRailsActive Storage ϚϧνDBػೳͷΑ͏ʹgem ͷػೳΛऔΓࠐΈͭͭ͋Δ
Slide 26
Slide 26 text
ཚཱ͢ΔαʔϏεΫϥεϥΠ ϒϥϦ
Slide 27
Slide 27 text
DHH͞ΜɺActive Recordͷ ্ʹͤΔύλʔϯ ”Omakase”Ͱग़ͯ͘͠Ε· ͤΜ͔Ͷʁ
Slide 28
Slide 28 text
·ͱΊ • Active Recordύλʔϯ࠷ॳ͍͍ͭɺͩ ͕ͦͷ͏ͪਏ͘ͳΔ • ղܾࡦ͢ͰʹෳఏҊ͞Ε͍ͯΔ͕ɺެࣜ ͷͷͳ͍ • ʮ౷߹͞ΕͨγεςϜʯͷதʹղܾࡦ͕ೖͬͯ ͘Δͱͬͱྑ͘ͳΓ·͢Ͷʂ