The Elusive Attribute
summary
Argues that Rails “attribute” is concrete: attribute methods live in a generated attribute methods module (a five‑line PR gives it a name), but getters also come through method_missing from SQL results; the presenter removes module methods and the schema_cache to demonstrate both front‑door and back‑door routes, inspects ActiveRecord::Result, and counts 18 attribute matchers — the invisible default blank‑prefix matcher is the single most important one — tests confirm the reason and expose odd aliasing behavior.
AI-written summary · about
chapters (5)
- 0:00Intro
- 0:18CLOUD Pain Free Rails 66 Deployments
- 8:11METHODS & COLUMNS
- 19:31MATCHERS & DISPATCHERS
- 31:22A BETTER FRAME
related talks
27mRediscovering ActiveRecord
19mAn ActiveRecord Rewrite: the Story Behind the Attributes API
41mCurmudgeon: An Opinionated Framework
34mRails 5 Features You Haven't Heard About
31mWhat Comes After MVC
38mRails on Ruby: How Ruby Makes Rails Great
25mActiveRecord can't do it? Arel can!
43mThe Magic of Rails
