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のサービスで特別対応をしたときの話
Search
Keisuke KITA
September 21, 2014
Technology
0
1.2k
Railsのサービスで特別対応をしたときの話
Keisuke KITA
September 21, 2014
Tweet
Share
More Decks by Keisuke KITA
See All by Keisuke KITA
ViewModelのダイエット Messengerパターン編
kitak
10
8.3k
Other Decks in Technology
See All in Technology
今この時代に技術とどう向き合うべきか
gree_tech
PRO
2
2.2k
OCIjp_Oracle AI World_Recap
shinpy
1
170
SCONE - 動画配信の帯域を最適化する新プロトコル
kazuho
1
320
Okta Identity Governanceで実現する最小権限の原則 / Implementing the Principle of Least Privilege with Okta Identity Governance
tatsumin39
0
170
現場の壁を乗り越えて、 「計装注入」が拓く オブザーバビリティ / Beyond the Field Barriers: Instrumentation Injection and the Future of Observability
aoto
PRO
1
140
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
12
81k
現場データから見える、開発生産性の変化コード生成AI導入・運用のリアル〜 / Changes in Development Productivity and Operational Challenges Following the Introduction of Code Generation AI
nttcom
1
460
Observability for the system understanding and curious by developers
maruloop
1
310
難しいセキュリティ用語をわかりやすくしてみた
yuta3110
0
380
What's new in OpenShift 4.20
redhatlivestreaming
0
130
Azureコストと向き合った、4年半のリアル / Four and a half years of dealing with Azure costs
aeonpeople
1
270
頭部ふわふわ浄酔器
uyupun
0
110
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
Statistics for Hackers
jakevdp
799
220k
For a Future-Friendly Web
brad_frost
180
10k
Rails Girls Zürich Keynote
gr2m
95
14k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.6k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
The Pragmatic Product Professional
lauravandoore
36
7k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
Build your cross-platform service in a week with App Engine
jlugia
233
18k
Transcript
RailsͷαʔϏεͰ ಛผରԠΛͨ͠ͱ͖ͷ
kitak twitter.com/kitak github.com/kitak ~ 2013 ੴߴઐ, kanazawa.rb 2013.4 (.0ϖύϘʹ৽ଔೖࣾ ৽ଔݚम➞46;63*➞Χϥʔϛʔγϣοϓ
46;63*
https://suzuri.jp
None
None
None
None
͝ར༻ࣄྫ
None
None
None
͋Γ͕ͱ͏͍͟͝·͢
46;63*ͷٕज़ Ruby (Rails4.1) Backbone.js Node.js
http://pepabo.com/recruit/interview/201406_01
ੜ׆ൃදձ
RailsͷαʔϏεͰ ಛผରԠΛͨ͠ͱ͖ͷ
lಛผରԠz
ίϥϘاըɾΩϟϯϖʔϯ
ಛผରԠ ಛఆͷϢʔβʔ͚ͩ ! ൢചͰ͖ΔݸΛ੍ݶ͍ͨ͠ ܦཧతͳ߹Ͱച্ͷѻ͍Λม͑Δ ϖʔδʹදࣔ͢Δ༰ΛҰൠϢʔβʔ ͱҟͳΔͷʹ͢Δ FUDʜ
ҰॹʹΔ͜ͱʹ ͳͬͨΑʂ
͋Γ͕ͪͳίʔυ
ҰॹʹΔ͜ͱʹ ͳͬͨΑʂ
͋Γ͕ͪͳίʔυ
ҰॹʹΔ͜ͱʹ ͳͬͨΑʂ
None
ࠔͬͨ͜ͱ
͋ͪͪ͜ͷϞσϧ ϏϡʔʹɺϢʔβͷ ذॲཧ͕ࢄΒΔ
اըΩϟϯϖʔϯ͕ ऴΘͬͨޙʹରԠͷ ίʔυΛফ͢ͷ͕େม
ͻͱͭͷاըͷதͰɺ ෳͷରԠΛ͓͜ͳ͍ͬͯ Δ߹ʹ ରԠͷશ༰͕Ѳͮ͠Β͍
Ͱɺ͔ͤͬ͘ͷ ͓ͳͷͰɺΑ͠ͳ ʹରԠ͍ͨ͠
Ͳ͏͢ΕΑ͍͔
ίϥϘاըΩϟϯϖʔϯ Ͱ͓͜ͳ͏มߋΛҰՕॴ ʹू͢ΕΑ͍ͷͰ
ͻͱͭͷϑΝΠϧ Ϟδϡʔϧʹ zಛผରԠzͱ͍͏ؔ৺ࣄ Λ͢Δ
TipsΛ͍͔ͭ͘ ͝հ͠·͢
Model
lಛผରԠzϞδϡʔϧͷ ϝιουͰɺطଘͷϞ σϧͷϝιουΛϥο ϐϯά͢Δ
Module#prepend
Object MyClass superclass include prepend
Object MyClass superclass include prepend ModuleA
Object MyClass superclass include prepend ModuleA ModuleB
includeΫϥεʹରͯ͠ ৽ͨͳػೳΛఏڙ͢Δ prependطʹଘࡏ͢Δػ ೳΛมߋ͢Δ
έʔε ಛఆͷϢʔβʔͷͷൢച ݸʹ੍ݶΛઃ͚Δͱ͖
None
None
None
ؾΛ͚ͭΔ͜ͱ
ෳͷϞδϡʔϧΛ ಉҰͷΫϥεʹ prepend͢Δࡍʹ ઌͷมߋʹӨڹͳ͍͔ɺ ڝ߹͠ͳ͍͔
View
deface by spree
ςϯϓϨʔτΛہॴతʹ ΦʔόʔϥΠυͰ͖Δgem
I/FX1PTUI I৽نߘI BQQWJFXTQPTUT@GPSNIUNMFSC BQQWJFXTQPTUT@GPSNIUNMFSC
έʔε Ϣʔβʔͷϖʔδͷݟͤ ํΛม͍͑ͨ
௨ৗ ಛผରԠ
None
None
lಛผରԠzΛͻͱͭͷϑΝΠϧʹ·ͱΊΔ
ؾΛ͚ͭΔ͜ͱ
$44ηϨΫλͰมߋ͢ΔՕॴΛࢦఆ ͢ΔͷͰɺϏϡʔͷมߋʹऑ͍ ˝ request spec feature specͰΧόʔ
·ͱΊ lಛผରԠzΛҰՕॴʹूΊΔ RubyʹɺRubyͦͷͷͷॊ ೈੑͱ༏ΕͨΤίγεςϜ͕͋ Δ ➞ԯ߷ͳ͜ͱָ͘͠Ͱ͖Δ
We are hiring!
We are hiring!
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ