Rails: The Next Five Years
summary
Rails needs conventions for JSON APIs: Active Model Serializers is presented as a concrete solution that generates serializers with rails generators, hooks into to_json, and lets the app declare what to serialize while a configurable strategy decides how to serialize (defaulting to embed IDs instead of embedding objects). Demo shows serializers auto-generated for models, switching embedding with one line. Remaining gaps: a standardized bulk update convention and a rails-js client protocol; AMS worked in practice but was reverted from core pending consensus.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 1:50Why Rails matters
- 8:30Conventions over configuration
- 16:41Technical debt in Rails
- 23:19JSON API serialization
- 36:25Trivial choices
- 38:50Recap and closing thoughts
related talks
40mWriting APIs the Easy Way with Rails API and AMS
24mAMS, API, Rails and a developer, a Love Story
41mOff the Tracks - Challenging the Rails Mindset
46mRails as a piece of birthday cake
24mThe Rails Features we Loved, Lost, and Laughed at
24mBuild The API First
22mBryan's ActieModel Extravaganza
42mPowerful Rails Features You Might Not Know
