From 5bc8b5fe12e5de00300fad7402db161376e22011 Mon Sep 17 00:00:00 2001 From: Paul Chavard Date: Thu, 7 Nov 2019 17:20:09 +0100 Subject: [PATCH] Implement ActiveStorage::FileNotFoundError --- app/lib/active_storage/file_not_found_error.rb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/lib/active_storage/file_not_found_error.rb diff --git a/app/lib/active_storage/file_not_found_error.rb b/app/lib/active_storage/file_not_found_error.rb new file mode 100644 index 000000000..580d30666 --- /dev/null +++ b/app/lib/active_storage/file_not_found_error.rb @@ -0,0 +1,4 @@ +module ActiveStorage + # activestorage-openstack uses ActiveStorage::FileNotFoundError which only exists in rails 6 + class FileNotFoundError < StandardError; end +end