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
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
85
Webmock
phiggins
0
74
Ruby Stdlib's Benchmark
phiggins
0
66
Rails Maintainance Headaches
phiggins
0
140
Hacking Ruby
phiggins
3
220
Lightweight Objects Seattle.rb
phiggins
1
80
Cute Animals You've Never Heard Of
phiggins
0
470
Other Decks in Technology
See All in Technology
難しいセキュリティ用語をわかりやすくしてみた
yuta3110
0
290
防災デジタル分野での官民共創の取り組み (2)DIT/CCとD-CERTについて
ditccsugii
0
310
プレーリーカードを活用しよう❗❗デジタル名刺交換からはじまるイベント会場交流のススメ
tsukaman
0
180
【Kaigi on Rails 事後勉強会LT】MeはどうしてGirlsに? 私とRubyを繋いだRail(s)
joyfrommasara
0
280
AIツールでどこまでデザインを忠実に実装できるのか
oikon48
6
3.5k
生成AI時代のセキュアコーディングとDevSecOps
yuriemori
0
120
セキュアな認可付きリモートMCPサーバーをAWSマネージドサービスでつくろう! / Let's build an OAuth protected remote MCP server based on AWS managed services
kaminashi
3
350
AWS Control Tower に学ぶ! IAM Identity Center 権限設計の第一歩 / IAM Identity Center with Control Tower
y___u
1
200
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
8.8k
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.8k
20251014_Pythonを実務で徹底的に使いこなした話
ippei0923
0
210
ニッポンの人に知ってもらいたいGISスポット
sakaik
0
170
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
Practical Orchestrator
shlominoach
190
11k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Faster Mobile Websites
deanohume
310
31k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
22k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
Navigating Team Friction
lara
190
15k
Java REST API Framework Comparison - PWX 2021
mraible
34
8.9k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Agile that works and the tools we love
rasmusluckow
331
21k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
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