The same partials are used client and server side to render the list of notes and the note display area of the screen, mustache makes this possible.
All links are bound to by a Davis.js application which handles the requests from clicking links and submitting forms client side.
app.js which is
where the Davis.js app and its routes are defined.
A very simple view factory handles the client side templating using Handlebars.js
and the Note model uses the excellent js-model.
To get the app running locally do the following
bundle rake db:schema:load rails s open http://localhost:3000/notes