Hard work by INTERNET

ベンチャーで働くひとりぼっちWEB開発者が頑張るブログ

ActiveRecord::Base#dup が動的属性を含めてくれない(does not include dynamic attributes) #34823

github.com

本文

rails4.2.xでは、 lib/active_record/core.rb#initialize_dup が正しく複製してくれるけれども、rails5.2ではpullするだけ MyModel._default_attributes によって、すでに複製したものを削除する。

Yes this still occurs on 5-2-stable. I've already included details on where the offending code is.. Right now we have resorted to manually handling duping because of the broken rails AR code.

rails5.2のステイブルではまだ起きている。問題のコードの場所は >>1にすでに含めています。 ActiveRecordのコードが壊れたことによって、私達は手動での複製処理に頼っています。

Since you know where the offending code is, what do you thing about opening a PR?

問題のコードをあなたは知っているので、プルリクエストを開くことについてどう思っていますか?

I can do that sometime next week.

来週なにかできるよ。

以降音沙汰なし。