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
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
Cosmos World Foundation Model Platform for Physical AI
takmin
0
830
AIエージェントを開発しよう!-AgentCore活用の勘所-
yukiogawa
0
150
【Oracle Cloud ウェビナー】[Oracle AI Database + AWS] Oracle Database@AWSで広がるクラウドの新たな選択肢とAI時代のデータ戦略
oracle4engineer
PRO
1
130
10Xにおける品質保証活動の全体像と改善 #no_more_wait_for_test
nihonbuson
PRO
2
230
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
210
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
顧客の言葉を、そのまま信じない勇気
yamatai1212
1
350
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
440
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
42k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
15
400k
Codex 5.3 と Opus 4.6 にコーポレートサイトを作らせてみた / Codex 5.3 vs Opus 4.6
ama_ch
0
130
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
13k
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
Raft: Consensus for Rubyists
vanstee
141
7.3k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
210
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
Faster Mobile Websites
deanohume
310
31k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
110
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
75
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