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
Rediscovery of fun ruby
Search
makicamel
July 06, 2019
Programming
4
2.5k
Rediscovery of fun ruby
makicamel
July 06, 2019
Tweet
Share
More Decks by makicamel
See All by makicamel
Rails アプリ地図考 Flush Cut
makicamel
1
120
ErdMap: Thinking about a map for Rails applications
makicamel
1
1.6k
dRuby 入門者によるあなたの身近にあるdRuby 入門
makicamel
4
810
BulletmarkRepairer: auto corrector for N+1 queries
makicamel
10
6.9k
How to say goodbye to technical debt
makicamel
8
2.9k
circuit_switch: small start to create gem
makicamel
3
2.6k
Ganbaranai wo ganbaru
makicamel
5
4.5k
Automate the boring staff with Ruby
makicamel
1
970
Lets enjoy creating gems
makicamel
3
1.9k
Other Decks in Programming
See All in Programming
クリーンアーキテクチャから見る依存の向きの大切さ
shimabox
2
280
pylint custom ruleで始めるレビュー自動化
shogoujiie
0
120
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
170
Immutable ActiveRecord
megane42
0
140
もう僕は OpenAPI を書きたくない
sgash708
5
1.6k
Domain-Driven Transformation
hschwentner
2
1.9k
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
47
17k
How mixi2 Uses TiDB for SNS Scalability and Performance
kanmo
37
14k
Formの複雑さに立ち向かう
bmthd
1
850
Amazon S3 TablesとAmazon S3 Metadataを触ってみた / 20250201-jawsug-tochigi-s3tables-s3metadata
kasacchiful
0
160
Java Webフレームワークの現状 / java web framework at burikaigi
kishida
9
2.2k
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
2
210
Featured
See All Featured
Building Your Own Lightsaber
phodgson
104
6.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
What's in a price? How to price your products and services
michaelherold
244
12k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
4
410
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
30
4.6k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
Git: the NoSQL Database
bkeepers
PRO
427
64k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
The Cult of Friendly URLs
andyhume
78
6.2k
Speed Design
sergeychernyshev
27
790
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
133
33k
Transcript
%BSUʹුؾͨ͠Β 3VCZ࠷ߴͩͱ࠶ೝࣝͨ͠ 5BNB3VCZձٞ !NBLJDBNFM
ሱ࠭ℚࢺ c!NBLJDBNFMԫჰຣ࠱ cᇩൔ߶ഠ(BJBYƋŧũƋŶưƊ⣈ŧƉŧơż c3VCZ3BJMT㠥୍ŲƬŧ c'MVUUFS%BSU㠥ȌᄅŲƬŧ
'MVUUFSĤ c(PPHMFῘ㻂ƑDžȃǏǭǿǙǞǫƿ✣ǶῘ㻂4%,c'8 c୍ᄅƎWFS㻂і c୍ᄅƎ'MVUUFSGPS8FC㻂і
%BSUĤ c(PPHMFῘ㻂Ƒ'MVUUFSƊƲƯƮ∽ c୍Ǝ֨ṳƃů࠻Ǝޅ߭ƥඵƶƊƮ c୍ᄅƎ%BSUů㻂іŸƯƉఏඵ߭ള
%BSUĤ
ťƮರ ರڱůࣂರŮƌũŮźƂŧƶƃŴƌa ǷǓǙǟളūƉƍŧŮƍĤ ````` ťƮƊźƪʙ ƍŧbbbbb `````ŶƶƍۋŻƊℼŲźŮƍŧƊżƐʙ
ťƮರ
ರڱҠቔů҂ь c%BUF5JNFDžǿǏƑƢƊa%BUFDžǿǏůƍŧ cwCFHJOOJOH0G%BZxƋŮƍŧ ࢸ⡘ƋźƉℭhƫŲũ cw NPOUIxƋŮƊŰƍŧ %VSBUJPODžǿǏƒťƮŴƌaǴƺDžȃ૰ƑίෘƑƢ
ေຬƒťƮ ]EBSUMBOHTEL IUUQTHJUIVCDPNEBSUMBOHTELJTTVFT
ေຬƒťƮ ]EBSUMBOHTEL IUUQTHJUIVCDPNEBSUMBOHTELJTTVFT
ေຬƒťƮ ]EBSUMBOHTEL IUUQTHJUIVCDPNEBSUMBOHTELJTTVFT
ƥźŮźƉğ 044ቔӮƑὨ≓
044ቔӮƑὨ≓ cሱٳůƆƉŧƮŶƋƒⅅŮƥƆƉŧƮ ¹*TTVFƊ㥽Ƣ
044ቔӮƑὨ≓ cdždžƮƑƒξůቋᗥƊŧŧ !PLVSBNBTBGVNJ
c⇀ṳƑࣂťƮⅳƵ ŰƄƶƋǀ✣ǭȉƍlj✣ǟƊࢳ㢯żƮ 044ቔӮƑὨ≓ !B@NBUTVEB ;0;0ǜDžǤȃǎ✣ǐƑℿἪ↜ρԫ൦aโ൦a.BU[൦Ǝ↙ŲƾȉǎǡƸದളb ʙƋƎŮŲℼŲaℼŲŶƋƵ㛀źƣʙ IUUQTUFDICMPH[P[PDPNFOUSZ@JOUFSWJFX
ƇŲƆƂ
ȌᄅᗥƋƒŧƇƍƑŮ c3BJMT
ȌᄅᗥƋƒŧƇƍƑŮ
ȌᄅᗥƋƒŧƇƍƑŮ c3VCZ
ȌᄅᗥƋƒŧƇƍƑŮ DMBTT%BUF]ǀǬǎƽDžǞᆷཟǏDžȀǭǞ∽3VCZȀǫƷȂȉǏǴǡǻƸȁ IUUQTEPDTSVCZMBOHPSHKBMBUFTUDMBTT%BUFIUNM
lj✣ǟƵ䪎ƣ
lj✣ǟƵ䪎ƣ
EBUF@DPSFD
EBUF@DPSFD
EBUF@DPSFD t = year * 12 + month + other
EBUF@DPSFD y = t / 12 m = t %
12 + 1 t = year * 12 + month + other d = dat.day(self.day)
EBUF@DPSFD y = t / 12 m = t %
12 + 1 t = year * 12 + month + other d = dat.day(self.day)
EBUF@DPSFD
EBUF@DPSFD
EBUF@DPSFD
EBUF@DPSFD
EBUF@DPSFD y = t / 12 m = t %
12 + 1 t = year * 12 + month + other d = dat.day(self.day)
EBUF@DPSFD y = t / 12 m = t %
12 + 1 t = year * 12 + month + other d = dat.day(self.day)
EBUF@DPSFD
EBUF@DPSFD y = t / 12 m = t %
12 + 1 t = year * 12 + month + other d = dat.day(self.day)
EBUF@DPSFD y = t / 12 m = t %
12 + 1 t = year * 12 + month + other d = dat.day(self.day)
żŷŲᾏ߄żƮƋ c%BUFOFX źƂƋźƉ
ƍƶƊŶƶƍŶƋźƉƮƑĤ c㔂ሱุƑₒźŸ DMBTT%BUF]ǀǬǎƽDžǞᆷཟǏDžȀǭǞ∽3VCZȀǫƷȂȉǏǴǡǻƸȁ IUUQTEPDTSVCZMBOHPSHKBMBUFTUDMBTT%BUFIUNM ݓƎƫƆƉ ڿ㔂ರƥũƫĆ
EBUF@DPSFD
EBUF@DPSFD
EBUF@DPSFD
EBUF@DPSFD
ƍƶƊŶƶƍŶƋźƉƮƑĤ c㔂ሱุƑₒźŸ ƵၩℰžŽƎℼŴƮƫũƎ cƲƂźƂƄƒw௹րżƮটᄅƑࣂರxůƞźŧƃŴ
wƂƑźŧ3VCZx Ƶ⻎⇀żƮƂƤ
ƄƍƢƎ cEBUF@DPSFDƒ୍ᄅƎቔӮ
ƄƍƢƎ cEBUF@DPSFDƑభƒEBUFSCƊ⻎ል ƀƑℭEBUFSCƒ ྛŲƬŧ
ƄƍƢƎ c¹EBUF@DPSFD c¹EBUFSC c ¹EBUFSC
cEBUFSC *OJUJBM
ơƋƤ c3VCZůቋۚƍƑƒa ቋۚƎƍƮƫũƎDPNNJUůὩơƯƉŰƂŮƬ cwźƂŧƫũƎℼŴƮxƑů3VCZƑᷠ৯ƑƕƋƇ cቋԚŮƬປᡋƍƥƑƍƶƉƍŧ cሱٳƑ֡ऎƑ㠥ൎƵᆩƮƋദ࣍ƎۋŻƬƯƉ ƥƆƋݺŰƎƍƮƑƊӑŭżżƤ
`)BQQZ$PEJOH
ŷౢ䒙ťƭůƋũŷŹŧơźƂ