Update attachment_uploader.rb

Added relative URL support to attachment uploader