You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 19, 2018. It is now read-only.
it"can validate the presence of an association"doTestModel.validates_presence_of:child_modelsexpect_promisedo@test_model=TestModel.new@test_model.child_models << ChildModel.new@test_model.validate.then{ |test_model| test_model.errors.messages}end.tobe_emptyend
it"the server method can access any unsaved associations"doisomorphicdoTestModel.server_method(:test){child_models.count}endexpect_promisedotest_model=TestModel.newChildModel.new(test_model: test_model)ReactiveRecord.loaddotest_model.testendend.toeq(1)end
(the child relationship is not being correctly rematerialized on the server)