~/talk

Off the Tracks - Challenging the Rails Mindset

Talkat RubyConf AU 2013 · 2013-02-20..02-22· [ruby-on-rails, frontend-architecture]
slides:none on file

Rails conventions lead to fat models and controllers and accidental side effects — a migration hit sending SMS to 500,000 users is a concrete failure mode — so the concrete fixes shown matter: model logic moves into POROs and tests run in ~5ms without booting Rails; persistence attaches later via DataMapper 2; views become encapsulated with Cells and view inheritance to remove partial-based deciders; controllers split with Objectify; JSON APIs use a representer (Roar) with JSON‑HAL links.

AI-written summary · about

  1. 0:00Intro
  2. 0:35Prejudice
  3. 5:07Example
  4. 6:22Rails Tools
  5. 7:07Fuck Rails
  6. 8:03ObjectOriented Patterns
  7. 9:51Persistence Patterns
  8. 11:00Cowboy Class
  9. 12:35Chat Stack
  10. 13:57DataMapper
  11. 14:59DataMember
  12. 15:56Views
  13. 16:43Sidebar partial
  14. 18:04Decider
  15. 18:33View component
  16. 18:57View component code
  17. 20:32Overwrite view
  18. 21:29View inheritance
  19. 24:48Pushbike law
  20. 26:02Controllers
  21. 26:42Objectified
  22. 28:03Renderer
  23. 28:37Objectify
  24. 29:07API endpoints
  25. 29:40API documents
  26. 30:19Rendering and parsing
  27. 32:00Representation
  28. 32:54Rendering
  29. 33:49Representations
  30. 34:35Nesting
  31. 35:51Extensions
  32. 38:58Summary
~/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.