Fix javascript for turbolinks
Add post about rails documentation