@student.interview_type = @two_hour_view.interview_type
@student.save
と、
@student.interview_type.id = @two_hour_view.interview_type.id
@student.save
では全然違う。テストの際に下のようにやって上手く行かずに苦労した
@student.interview_type = @two_hour_view.interview_type
@student.save
と、
@student.interview_type.id = @two_hour_view.interview_type.id
@student.save
では全然違う。テストの際に下のようにやって上手く行かずに苦労した