Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Railsのサービスで特別対応をしたときの話
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Keisuke KITA
September 21, 2014
Technology
1.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Railsのサービスで特別対応をしたときの話
Keisuke KITA
September 21, 2014
Transcript
62 slides
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!
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ
More Decks by Keisuke KITA
See All by Keisuke KITA
ViewModelのダイエット Messengerパターン編
kitak
10
8.6k
Other Decks in Technology
See All in Technology
Is the Website Dying?
miriamschwab
0
270
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
5
18k
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
技術同人誌を作る方法
yoshimura_datam
0
120
ポケモンバトルのAIエージェント
koji_kawamura
0
330
コーディングできない僕にBobが舞い降りた
shumpei3
0
230
AIエージェントのアーキテクチャ設計
nsatoh
0
600
デザインシステムのフィードバックループをほぼ自動化した話
tongari07
1
1.4k
NutanixへのSSHアクセスの今後について
shadowhat
0
190
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
2
370
データ界隈LT祭の運営のふりかえり
yoshimura_datam
0
120
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.3k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
What's in a price? How to price your products and services
michaelherold
247
13k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
850
Facilitating Awesome Meetings
lara
57
7.2k
Discover your Explorer Soul
emna__ayadi
2
1.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
550
ラッコキーワード サービス紹介資料
rakko
5
6.1M
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.3k
WENDY [Excerpt]
tessaabrams
15
41k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
830