Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
40歲的我會給20歲的自己,關於軟體開發的7個建議
line_developers_tw
PRO
0
120
Will multimodal language processing change the world?
keio_smilab
PRO
2
280
データ基盤の負債解消のためのリプレイス
livesense
PRO
0
150
.NET のUnified AI Building Blocks 入門...!
okazuki
0
170
B11-SharePoint サイトのストレージ管理を考えよう
maekawa123
0
120
深層学習のリペア技術の最新動向と実際 / DNN Repair Techniques for AI Performance Alignment for Safety Requirements
ishikawafyu
0
290
12/3(火)のBedrockアプデ速報(re:Invent 2024 Daily re:Cap #2 with AWS Heroes)
minorun365
PRO
4
120
Empowering Customer Decisions with Elasticsearch: From Search to Answer Generation
hinatades
PRO
0
240
総会員数1,500万人のレストランWeb予約サービスにおけるRustの活用
kymmt90
3
2.8k
Remix SPAモードのファイルベースルーティングで進めるフロントエンド構築
ryochike
0
140
AWS認定試験の長文問題を早く解くコツ
keke1234ke
0
150
MediaPipe と ML Kit ってどう ちがうの? / What is the difference between MediaPipe and ML Kit?
yanzm
0
390
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.2k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Six Lessons from altMBA
skipperchong
27
3.5k
[RailsConf 2023] Rails as a piece of cake
palkan
52
5k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
48
2.1k
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Writing Fast Ruby
sferik
627
61k
Building Your Own Lightsaber
phodgson
103
6.1k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
How to Think Like a Performance Engineer
csswizardry
21
1.2k
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!
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ