An example rails app that can render jade templates either on the server or on the client