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 Archeology
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
pete higgins
March 04, 2014
Technology
2
120
Rails Archeology
pete higgins
March 04, 2014
Tweet
Share
More Decks by pete higgins
See All by pete higgins
Help Seattle.rb
phiggins
0
88
Webmock
phiggins
0
76
Ruby Stdlib's Benchmark
phiggins
0
67
Rails Maintainance Headaches
phiggins
0
140
Hacking Ruby
phiggins
3
220
Lightweight Objects Seattle.rb
phiggins
1
84
Cute Animals You've Never Heard Of
phiggins
0
480
Other Decks in Technology
See All in Technology
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.4k
AIと新時代を切り拓く。これからのSREとメルカリIBISの挑戦
0gm
0
890
OpenShiftでllm-dを動かそう!
jpishikawa
0
100
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
プロダクト成長を支える開発基盤とスケールに伴う課題
yuu26
4
1.3k
プロポーザルに込める段取り八分
shoheimitani
1
220
OWASP Top 10:2025 リリースと 少しの日本語化にまつわる裏話
okdt
PRO
3
720
CDKで始めるTypeScript開発のススメ
tsukuboshi
1
390
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
110
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
AI駆動開発を事業のコアに置く
tasukuonizawa
1
170
Featured
See All Featured
Writing Fast Ruby
sferik
630
62k
Navigating Team Friction
lara
192
16k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
130
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
180
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The untapped power of vector embeddings
frankvandijk
1
1.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.8k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
180
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
100
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
Transcript
Rails Archeology Pete Higgins Seattle.rb
You are in a maze of twisty little passages, all
alike.
grep -r foo app/
grep -r foo $(bundle show --paths)
None
None
None
SO MUCH CODE
for i in app/models/*.rb ; do sed "s/\s\+def \(self\.\)\?\ ([^(
]*\).*\|\s\+scope :\ ([^,]*\).*/\2\3/;tx;d;:x" $i | while read j ; do echo $ (grep -R $j app/ lib/ config/ | wc -l) $j ; done ; done | sort -rn
for i in app/models/*.rb ; do sed "s/\s\+def \(self\.\)\?\ ([^(
]*\).*\|\s\+scope :\ ([^,]*\).*/\2\3/;tx;d;:x" $i | while read j ; do echo $ (grep -R $j app/ lib/ config/ | wc -l) $j ; done ; done | sort -rn
for i in app/models/*.rb ; do sed "s/\s\+def \(self\.\)\?\ ([^(
]*\).*\|\s\+scope :\ ([^,]*\).*/\2\3/;tx;d;:x" $i | while read j ; do echo $ (grep -R $j app/ lib/ config/ | wc -l) $j ; done ; done | sort -rn
for i in app/models/*.rb ; do sed "s/\s\+def \(self\.\)\?\ ([^(
]*\).*\|\s\+scope :\ ([^,]*\).*/\2\3/;tx;d;:x" $i | while read j ; do echo $ (grep -R $j app/ lib/ config/ | wc -l) $j ; done ; done | sort -rn
None
None
for i in $(find app/views/ -type f) ; do echo
$(grep -R $(echo $i | sed "s/.*\/_\?\ ([^.]*\).*/\1/") app/ | wc -l) $i ; done | sort -rn
None
Questions? twitter: @pete_higgins github: @phiggins