I wanted to set custom class accessors on my AR models to a temporary value, but Object#with didn't work.
Not anymore 馃槑
github.com/rails/rails/...
Motivation / Background
I have custom class accessors on my Active Record models, which I wanted to temporarily set to a value for the duration of a block. I naturally reached for the Object#with m...