I'm trying to get a Rails form I made to: post to a controller method, run a command, save the results to a variable, and display them in a div on the same page. I've gotten everything to work so far except the last step. Going through some AJAX tutorials, I'm not sure what I've done wrong or am missing now. tools_controller.rb Introduction Rails ships with turbolinks which: automatically fetches the page, swaps in its , and Below is a generic blueprint to follow when implementing AJAX on the create action of a model in a div id="comments">` and dynamically injects the `app/views/comments/_comment.html.erb` partial...The Partial View will be populated from database using Entity Framework, converted to a HTML string and then returned as String from Controller to the jQuery AJAX function using ContentResult function in ASP.Net MVC Razor.