title: Attaching an image to a model in a Rails 6 API
body: <p>I've already done my research on this matter but the solutions i've come across seem rather complex to achieve my simple goals.
  I'm building an API in which some models should have an image attached. This API returns JSON format and it should also return an image for the frontend to consume.
  Is it too bad to just upload the images to let's say a dropbox folder and just paste the image urls into my db objects in an img dedicated field as a string?</p>
  <p>Something like:</p>
  <blockquote>
  <p>rails g model MyModel title:string description:string image_url:string</p>
  </blockquote>
  <p>This is for a project i've been assigned as a task to possibly get a job interview after.
  Is this not possible? is it just wrong? Learning how to Base64 encoding seems overkill for my purposes.</p>
  <p>Maybe you have encountered this same dilemma before and you can tell me how you solved it and why. Thank you for any help or advice.</p>