Skip to content

Commit d9c3c44

Browse files
authored
Loaded replies before marshalling dump (#1116)
To create the dumps with associates use: ActiveRecord::Marshalling.format_version = 6.1 topic = Topic.find(1) topic.replies.load File.binwrite(marshal_fixture_path("rails_6_1_topic_associations"), Marshal.dump(topic)) ActiveRecord::Marshalling.format_version = 7.1 topic = Topic.find(1) topic.replies.load File.binwrite(marshal_fixture_path("rails_7_1_topic_associations"), Marshal.dump(topic))
1 parent 6bf4ca7 commit d9c3c44

File tree

2 files changed

+0
-0
lines changed

2 files changed

+0
-0
lines changed

0 commit comments

Comments
 (0)