title: Rails: How to filter table records during a period?
body: <p>model Express has an attribute "date"<br>
  In the Index page, I hope to filter out express information during a period,
  what technology can be used here?<br><br>
  I searched railscast 240 "Search, Sort, Paginate with AJAX", but it did cover this.<br></p>
  
  <p>what I want basically like this. When the first time index page is loaded no record shows,until I set a period and click search button it will show records.</p>
  
  <p><a href="https://i.stack.imgur.com/E5FNB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E5FNB.png" alt="enter image description here"></a></p>