~/talk

Plain, Old, but Mighty: Leveraging POROs in Greenfield and...

Talkat RailsConf 2024 · 2024-05-07..05-09· [ruby]
links:none on file
slides:none on file

Crowd‑platform work moves from prototype to live: a B2C crowdfunding product launches on schedule and the first campaign funds. The concrete claims are that plain old Ruby objects reduce controller bloat, speed tests, and create seams for change — shown by replacing inline logic with an event_projects PORO to render a Pentopia progress bar (89 of 100 funded), extracting a pledge_creation_service to simplify pledge flow, and a logging_scheduled_payment_manager wrapper to add tested logging.

AI-written summary · about

  1. 0:00Introduction
  2. 3:11What is a PORO
  3. 5:20POROs for Greenfield
  4. 11:38Refactor controllers with POROs
  5. 20:36Legacy code challenges
  6. 23:22Extract service objects
  7. 30:03Untested code with POROs
  8. 36:03Incremental improvements
  9. 37:28POROs as refactoring tool
  10. 38:31Closing & Q&A
~/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.