title: How to get the date by day of the week ruby
body: <p>I'm creating rails app, and I need to put calendar into it. I have a json data which sending to app once in a week. JSON object has something like this:</p>
  
  <pre><code>route: "Monday"
  </code></pre>
  
  <p>or</p>
  
  <pre><code>route: "Saturday"
  </code></pre>
  
  <p>I need to put this day of the week as usual date(date calculated every week, since the day when the JSON was sent), for example JSON objects sent today, and to all of them I should give a date, routes: "Saturday" should give me 24-June-2017. Hope u understand my question :)</p>