Konstantinos Gallis

Joined

410 Experience
4 Lessons Completed
0 Questions Solved

Activity

Checkout the video 39 (https://gorails.com/episodes/rails-for-beginners-part-39-dependent-destroy-model-associations)

Go in the file twitter_account.rb and replace:
has_many :tweets

with:
has_many :tweets, dependent: :destroy