ActiveRecord の inverse_of オプション
https://zenn.dev/igaiga/books/rails-practice-note/viewer/ar_inverse_of
を読めば完全に理解できる!
#Rails
#ActiveRecord