ページネートとハッシュ(日付検索とGET)

date_select系は、パラメータがハッシュに入るため、クエリが特殊になる。この場合、
ページネートと組み合わセル場合はこのようにする
 
<%= link_to '前のページ', { :page => @student_pages.current.previous, 
:student_name => @student_name,:interview_type_id => 
params[:interview_type_id],:student_status_id => 
params[:student_status_id],
  "date[year]" => date_query(params[:date],"year"),"date[month]" => 
date_query(params[:date],"month"),"date[day]" => 
date_query(params[:date],"day")} if @student_pages.current.previous %>
)