added require 'Paperclip' to pins model