@almazkaist you should add ```dependent: :destroy``` for this association.