UPLOADING IMAGE ON DROPBOX

Paperclip Dropbox WE CAN USE FOLLOWING LINKS :- https://github.com/thoughtbot/ paperclip https://github.com/janko-m/pap erclip-dropbox PLEASE READ STEPS CAREFULLY.. 1. Create drop box account. 2. Go to drop box developer console, Create App on drop box. https://www.dropbox.com/develo pers Now move to the coding part.. 1. Add the gem in gemfile and run bundle. gem "paperclip-dropbox", ">= 1.1.7" gem "paperclip", "~> 4.2" 2. Run the following command, rails g paperclip users avatar if you getting issue in rails 5 you have to put in the migration :- class AddAttachmentFileToProfiles < ActiveRecord::Migration[5.1] end 3. Write this in user model. class Profile < ApplicationRecord has_attached_file :file validates_attachment_content_type :file, :content_type => [] end 4. Add the following line to environme