downcase on nil
Opened this issue · 0 comments
thomaswitt commented
First of all, thanks for your great work. You saved me a considerable amount of time.
One suggestion, anytime when you use downcase (remarks.downcase.include?('safety pilot')
) that could be a nil value. I'd recommend to use the to_s method, like remarks.to_s.downcase.include?('safety pilot')