title: Date range in ruby/rails
body: <p>I want to get date range between from and till in Rails seed.</p>
  
  <p>When I try to generate date range ((Date.today - 10)..Date.today) exception occurred.</p>
  
  <p>Exception message: <strong>bad value for range</strong></p>
  
  <p>But in the Rails Console everything all right.</p>
  
  <p>I think ActiveSupport  are reasonable for that (my debugger told me that).</p>
  
  <p>Ralls 3.1.3</p>
  
  <p>What's going on?</p>