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
Live with Rails
Search
Oursky Limited
April 09, 2013
Programming
120
1
Share
Live with Rails
My life with Rails and how I avoid it.
Oursky Limited
April 09, 2013
More Decks by Oursky Limited
See All by Oursky Limited
UI Automation
oursky
1
530
SSH Can
oursky
1
340
HTTP/2
oursky
0
370
watchOS2
oursky
0
370
Common QA issues
oursky
0
220
Complex is better than complicated
oursky
0
310
Clean code again
oursky
3
400
KiriKiri x O2 x NVLMarker
oursky
0
260
Flux + React
oursky
1
410
Other Decks in Programming
See All in Programming
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.7k
Spec-Driven Development with AI Agents (Workshop, May 2026)
antonarhipov
3
340
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
110
tRPCの概要と少しだけパフォーマンス
misoton665
2
270
AlarmKitで明後日起きれるアラームアプリを作る
trickart
0
130
Explore CoroutineScope
tomoeng11
0
180
Making the RBS Parser Faster
soutaro
0
680
SREに優しいTerraform構成 modulesとstateの組み方
hiyanger
2
170
AI時代になぜ書くのか
mutsumix
0
360
Are We Really Coding 10× Faster with AI?
kohzas
0
150
書き換えて学ぶTemporal #fukts
pirosikick
2
370
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
6.9k
Fireside Chat
paigeccino
42
3.9k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.1k
Believing is Seeing
oripsolob
1
120
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
The Invisible Side of Design
smashingmag
302
52k
Paper Plane (Part 1)
katiecoart
PRO
0
7.3k
Between Models and Reality
mayunak
3
280
エンジニアに許された特別な時間の終わり
watany
106
240k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Transcript
Live with Rails And avoid Rails Rick Mak, Apr 2013
Tuesday, 9 April, 13
Fact Rails is fast on creating MVP Rails is fast
on creating Restful API Rails has many stackoverflow articles. Tuesday, 9 April, 13
Getting big and getting away Rails is slow Test is
Rails is stupidly slow EdwinKwok says Rails is Architecture, not Entity: https://speakerdeck.com/oursky/ clean-code?slide=50 Tuesday, 9 April, 13
Heaven & Hell Tuesday, 9 April, 13
Requirement Both Project and User have quota Project may have
owner If a project has owner, ignore project quota If a project owner quota exceed, consider project quota. User can upgrade his quota Tuesday, 9 April, 13
Your Rails model Project User Project Quota User Quota Tuesday,
9 April, 13
Where is the Logic? Tuesday, 9 April, 13
Fat ActiveRecords Tuesday, 9 April, 13
ActiveSupport::Concern http://blog.codeclimate.com/blog/2012/10/17/7-ways- to-decompose-fat-activerecord-models/ “Any application with an app/concerns directory is
concerning.” Tuesday, 9 April, 13
No Time! I really need test case when it about
$money$ I really need test case when I follow up fat AR. Tuesday, 9 April, 13
No more free project Boss Tuesday, 9 April, 13
Where to change Tuesday, 9 April, 13
Standalone project payment Boss Tuesday, 9 April, 13
My life Tuesday, 9 April, 13
Introduce Quota Project Quota & User Quota is for storage
only All logic belongs to Quota Tuesday, 9 April, 13
Quota is not AR It test against its rspec, it
is fast. One place to edit Tuesday, 9 April, 13
Result Tuesday, 9 April, 13
Architecture matters Around 5 ticket about resource protection against expire/archive/non-owner
will become trivial to fix after introducing Quota. Rails architecture is just a guideline. Tuesday, 9 April, 13