Re:How Basecamp Next got to be so damn fast without using mu...
by mark_l_watson on Friday February 17, 2012 @06:29PM
(#3605427)
I put some debug printouts in his example notes controller and it seemed to be setting the no layout rendering option correctly, but as you say, the checks in the controller may be redundent. Anyway, I am planning on giving pjax a very good look: I find doing a lot of client side coding to be tedious and is something to be minimized.
https://github.com/rails/pjax_rails/blob/master/lib/pjax.rb#...
So in the sample app you pointed out: is the same as: Also, pjax-rails converts the following selection to pjax:https://github.com/rails/pjax_rails/blob/master/lib/assets/j...
I was a bit baffled by the example app since it didn't appear to be doing any pjaxy stuff, but rails being opinionated, I see all links are pjax(except the not classes show above), and layout is turned off for pjax requests.