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 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
98
Webmock
phiggins
0
85
Ruby Stdlib's Benchmark
phiggins
0
72
Rails Maintainance Headaches
phiggins
0
150
Hacking Ruby
phiggins
3
220
Lightweight Objects Seattle.rb
phiggins
1
91
Cute Animals You've Never Heard Of
phiggins
0
500
Other Decks in Technology
See All in Technology
How to Design Configuration for Rails Applications
willnet
1
790
AI駆動開発の時代になったのでトヨタ生産方式から見直す
terurou
7
6k
Classmethod Company Deck
satoshi7
1
690
スプシの手作業からの解脱 ~更新はClaude Codeに、見せ方と使い方はGASアプリに任せる~
kentarofujii
0
150
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
250
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
4.9k
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
200
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
870
JAWS-UGグッズ職人仕事の流儀
kentapapa
0
100
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
430
大型犬好きによるPugの紹介
yamanoku
1
160
Featured
See All Featured
For a Future-Friendly Web
brad_frost
184
10k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
A Modern Web Designer's Workflow
chriscoyier
699
190k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
370
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
410
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.5k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
The World Runs on Bad Software
bkeepers
PRO
72
12k
4 Signs Your Business is Dying
shpigford
187
23k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
580
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