Open duleorlovic opened 7 years ago
@seuros could we get a review of this as well? This would fix a MonkeyPatch that we have been using for a while.
Our monkeypatch is changing this line from after_initialize
to before_create
:
which it appears this PR is trying to do in a slightly different way?
Perhaps either / both approaches would work, but getting this fixed would be amazing :)
It seems that context is evaluated on
.new
instead of.save