class Business < ActiveRecord::Base
    has_many :reviews
    validates :title, presence: true, length: { minimum: 5 }
end

class Business < ActiveRecord::Base
    has_many :reviews, dependent: :destroy
    validates :title, presence: true, length: { minimum: 5 }
    #validates_associated :reviews
end

Remove failed review validation code
Remove failed review validation code
