PJAX for Rails 3.2+ : https://github.com/rails/pjax_rails 
pjax = pushState + ajax :https://github.com/defunkt/jquery-pjax
以下是引用以上的demo
http://www.prdblog.com/html/index/jqgrid.html