From 3e8c5324971efd433dde0ccdbc41bcc384e73b56 Mon Sep 17 00:00:00 2001 From: Drew Carey Buglione Date: Wed, 10 Feb 2016 15:35:27 -0800 Subject: [PATCH] Fix actual_root_path implementation --- lib/active_file/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/active_file/base.rb b/lib/active_file/base.rb index d337654b..83e5a82d 100644 --- a/lib/active_file/base.rb +++ b/lib/active_file/base.rb @@ -46,7 +46,7 @@ def extension protected :extension def actual_root_path - root_path || Dir.pwd + root_path || File.dirname(File.realpath(__FILE__)) end protected :actual_root_path