~/talk

So Long, Hoboken: Migrating a Huge Production Codebase from Sinatra to Rails

Talkat RailsConf 2015 · 2015-04-21..04-23· [ruby-on-rails, devops-and-delivery]
slides:none on file

A migration moves a 12–14 small-app Sinatra suite into Rails by choosing between melting/mounting (Rails boots Sinatra, hurting memory and reload performance) or a strangler pattern (incrementally carving verticals into Rails), building Rails models from service calls first, mapping routes into real controllers, and automating with Jenkins and CI. Tests and metrics matter: Code Climate 0.67→2.1 and test coverage rising ~50% to ~85% show measurable progress. The work is slow, error-prone, and ongoing but practical.

AI-written summary · about

  1. 0:00Intro
  2. 0:13About Me
  3. 1:53Caveat Developer
  4. 2:47Why Migrate? (Code)
  5. 5:02Why Migrate? (People)
  6. 7:30Our Architecture
  7. 10:15Option #1: Mounting
  8. 12:29Option #2: Strangler Pattern
  9. 16:30Tests, Tests, Tests
  10. 18:36A Word on Automation
  11. 20:40Models
  12. 22:40Controllers
  13. 23:41Controller Code Example
  14. 24:48Views
  15. 26:11All the (Not So) Small Things
  16. 27:25What We're Learning
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.