0
第12章のエクササイズ1では、私がテストをしたときにテストが失敗しない理由を理解できません。アウト:依存=>:=>依存:RailsチュートリアルCh 12のエクササイズ1 - 取り出した後でテストが失敗することはありません:dependent =>:destroy
has_many :relationships,
:foreign_key => "follower_id"
has_many :following, :through => :relationships, :source => :followed
has_many :reverse_relationships,
:foreign_key => "followed_id"
:class_name => "Relationship"
has_many :followers, :through => :reverse_relationships, :source => :follower
はまだ
を通過するすべてのテストになり破壊せずに、Userモデル私のテスト
マイモデルから破壊します