//
sign in
Post
by @danabra.mov
PostEmbed
by @danabra.mov
Record
by @jimpick.com
Record
by @atsui.org
+ new component
Post
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/...
5d
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...
github.com
Make `ActiveRecord::Base.with` call `Object#with` when passed a block by janko 路 Pull Request #57693 路 rails/rails
Janko Marohni膰