title: searching records between start date and end dates for ransack
body: <p>Hi i am using ransack + kalendae_assets gem for searching records in between start date and end date
  for this  i am using ransack PREDICATES by referring 
  <a href="https://github.com/ernie/ransack/blob/master/lib/ransack/constants.rb">https://github.com/ernie/ransack/blob/master/lib/ransack/constants.rb</a> </p>
  
  <p>here is my code </p>
  
  <pre><code>&lt;%= search_form_for @search, url: guest_search_rooms_path, html: {:method =&gt;:post} do |f| %&gt;
    &lt;%= f.label :start_date_eq , "Start Date"%&gt;   
    &lt;%= f.text_field :start_date_eq, class: 'release_date' %&gt;     
  
    &lt;%=f.label :end_date_eq, "End Date" %&gt;   
    &lt;%= f.text_field :end_date_lteq, class: 'release_date' %&gt;     
    &lt;%= f.submit "search" %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>rooms.controller</p>
  
  <pre><code>def guest_search 
  
    @search = Room.search(params[:q])
    @roome = @search.result(:distinct =&gt; true)
    @room= @roome.where("status IS ?", true).order("room_type_id desc")
  
    #@room = @search.result(:distinct =&gt; true)
   end 
  </code></pre>
  
  <p>but when i enters start   and end date it not searches how can i do this</p>