stavro / arc_ecto

An integration with Arc and Ecto.
255 stars 149 forks source link

Handle nil urls for skipped versions #117

Open dmarkow opened 5 years ago

dmarkow commented 5 years ago

I added a PR to Arc last year that allows skipping versions (for example, an attachment uploader that only generates :thumb versions for files that support it).

I just realized I never submitted this PR to deal with the nil urls that Arc now returns for these skipped versions (before this PR, there would be an error trying to URI.parse(url) on nil).