Ajax post on index.html.erb, edit and delete are still old-school