Day: May 17, 2020

Using Ajax in Rails Forms

Sometimes you want to update a form and not refresh the page. This is where AJAX (Asynchronous Javascript) comes handy. Instead of the controller responding with an html page, we’ll have the controller respond with Javascript and update the page. Let’s create a list of restaurants by creating a Rails

Read More »