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
pete higgins
March 04, 2014
Technology
130
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Rails Archeology
pete higgins
March 04, 2014
More Decks by pete higgins
See All by pete higgins
Help Seattle.rb
phiggins
0
94
Webmock
phiggins
0
83
Ruby Stdlib's Benchmark
phiggins
0
72
Rails Maintainance Headaches
phiggins
0
150
Hacking Ruby
phiggins
3
220
Lightweight Objects Seattle.rb
phiggins
1
90
Cute Animals You've Never Heard Of
phiggins
0
490
Other Decks in Technology
See All in Technology
MCPを待つな、パスキーを拡げよう(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
250
Rust×eBPFでEDRっぽいものをつくる
sunlife3
2
960
現場回帰したデータエンジニアが考える AI 時代のキャリア開発 / Career Development in the Age of AI Perspectives from a Hands-on Data Engineer
medley
0
330
dbt と Snowflake と tag
kevinrobot34
1
240
「面白い!」を信じ抜け。激動の時代を貫く、オンリーワン・エンジニアの条件
kizawa2020
0
210
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.5k
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
77k
AI時代のデータ基盤を考える問い
pacocat
0
650
RapidCopy2 Matrix I/Oエンジンによるファイルコピーソフトウェアの設計と実装
kengosawa2
1
410
サービス内で複数のOP・ASを連鎖させる(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
250
Windows の互換機能 - 古いプログラムはなぜ動作できるのか
murachiakira
PRO
0
100
internal/testlog で遊ぼう
rokuosan
0
210
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
520
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
280
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
57k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
400
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
390
New Earth Scene 8
popppiees
3
2.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Exploring anti-patterns in Rails
aemeredith
3
470
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
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