Commit 0f2dcffb authored by Jasper Maes's avatar Jasper Maes

Rails 5: fix hashed_path? method that looks up file_location that doesn't...

Rails 5: fix hashed_path? method that looks up file_location that doesn't exist when running certain migration specs
parent 91003c6e
......@@ -87,7 +87,7 @@ module Ci
end
def hashed_path?
super || self.file_location.nil?
super || self.try(:file_location).nil?
end
def expire_in
......
---
title: 'Rails 5: fix hashed_path? method that looks up file_location that doesn''t
exist when running certain migration specs'
merge_request: 21510
author: Jasper Maes
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment