모델 관계와 댓글 구현

8회차

멋쟁이 사자처럼 인하대학교 운영진 정유택

모델 관계를 선언하는 이유?

관계 선언의 종류

  • belongs_to
  • has_one
  • has_many
  • has_many :through
  • has_one :through
  • has_and_belongs_to_many

오늘은 배울 내용은

  • belongs_to
  • has_one
  • has_many

belongs_to

1:1 관계

1:n 관계

Live Coding

댓글 구현해보기

모델 관계와 댓글 구현

By TakeU -

모델 관계와 댓글 구현

  • 690