Skip to content
Menu
Justin Ball
  • About
  • Privacy Policy
Justin Ball

Category: InvalidAuthenticityToken

Ajax calls using jQuery in Ruby on Rails

Posted on June 7, 2008November 1, 2021

jQuery is the hot javascript library and it is small and it is cooler than Prototype, the default library that comes with Ruby on Rails. Ergo I plugged it in and pulled out everything else. The ajax calls are very simple and look like this: $.post(“function_name”,{ key:value } ,function(data) { // do stuff with data…

©2025 Justin Ball | Powered by SuperbThemes & WordPress