//////////// this is 100% ajax crud example. it is adapted from his tutorial: http://stjhimy.com/posts/07-creating-a-100-ajax-crud-using-rails-3-and-unobtrusive-javascript but updated to work with Rails 3.2.9 i also add some features; show the count of post