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.1k
Railsのサービスで特別対応をしたときの話
Keisuke KITA
September 21, 2014
Tweet
Share
More Decks by Keisuke KITA
See All by Keisuke KITA
ViewModelのダイエット Messengerパターン編
kitak
10
8k
Other Decks in Technology
See All in Technology
個人でもIAM Identity Centerを使おう!(アクセス管理編)
ryder472
3
170
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
Terraform CI/CD パイプラインにおける AWS CodeCommit の代替手段
hiyanger
1
230
B2B SaaS × AI機能開発 〜テナント分離のパターン解説〜 / B2B SaaS x AI function development - Explanation of tenant separation pattern
oztick139
2
210
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.8k
Lambda10周年!Lambdaは何をもたらしたか
smt7174
2
110
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
0
110
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
隣接領域をBeyondするFinatextのエンジニア組織設計 / beyond-engineering-areas
stajima
1
270
Lexical Analysis
shigashiyama
1
150
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
120
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
740
Featured
See All Featured
Thoughts on Productivity
jonyablonski
67
4.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
It's Worth the Effort
3n
183
27k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Code Review Best Practice
trishagee
64
17k
Raft: Consensus for Rubyists
vanstee
136
6.6k
How to Think Like a Performance Engineer
csswizardry
20
1.1k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Building Your Own Lightsaber
phodgson
103
6.1k
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!
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ