Simple AJAX and Rails Tutorial

It’s been a while since I’ve posted anything but I’ve been extremely busy coding my face off. The upside of that is I’ve been learning a ton of new stuff and I have a lot of things I want to write about.

Today I’m just going to go over a quick tutorial on how to use AJAX to send requests to functions in your Rails backend. The problem I kept running into was calling a function that is in a different controller than the view I’m calling it from.
Continue reading