title: ArgumentError - bad value for range
body: <p>Looks like the Range method has been enhanced in Ruby, I'm using v2.5.1 and it's not working as expected. This was working before, but now is not working. </p>
  
  <p>I have this line of code:</p>
  
  <pre><code>@events = Event.where(start: params[:start]..params[:ends])
  </code></pre>
  
  <p>And the start and ends symbols are expecting a date value. Here's the log in my rails console.</p>
  
  <pre><code>Started GET "/events.json?start=2018-05-27&amp;end=2018-07-08&amp;_=1529068714340" for 127.0.0.1 at 2018-06-15 16:18:34 +0300
  Processing by EventsController#index as JSON
    Parameters: {"start"=&gt;"2018-05-27", "end"=&gt;"2018-07-08", "_"=&gt;"1529068714340"}
  </code></pre>
  
  <p>But I'm getting this error in the console - </p>
  
  <pre><code>ArgumentError - bad value for range:
    app/controllers/events_controller.rb:7:in `index'
  </code></pre>
  
  <p>Please, how can I get the proper range? </p>
  
  <p>Here's the repo incase you want to check it out - <a href="https://github.com/mayordwells/fullcalendar-rails-demo" rel="nofollow noreferrer">https://github.com/mayordwells/fullcalendar-rails-demo</a></p>