title: No access control allow origin in rails
body: <p>I am getting this error while I am trying to hit on my api deployed on Heroku in rails application using Ruby on rails : </p>
  
  <pre><code> Failed to load https://**: my API link deployed on Heroku No 
  'Access-Control-Allow-Origin' header is present on the requested resource.
   Origin 'http://localhost:3000' is therefore not allowed access.
  </code></pre>