Menu

Close
  • Home
  • GitHub
  • Twitter
  • Email
  • About
Subscribe
기억하기 귀찮은 잡다한 기술이야기

destroy_all

A 1-post collection

Page 1 of 1

Rails에서 destroy_all 과 delete_all 의 차이점

Rails 에서 과 은 어떤 차이점이 있을까요? Model 과 Model 간의 관계에서 과 을 설정했을 경우 아래와 같은 형태로 동작을 하게 됩니다. dependent: :destroy_all 예를들어, Blog… »

Eric JangEric Jang on rails, destroy_all, delete_all, delete_recursively, gem11 January 2019
Page 1 of 1
wecanooo@gmail.com © 2019
Proudly published with Gatsby