ActionController Invalid Authenticity Token Solution For Using Ajax On Rails

The other day I was trying to run Ajax with Rails and a very simple pop-up invocation started failing when I used it with prototype.js. Basically I wanted that when a link object is clicked, it pops up a message from the browser using Ajax. Essentially <OnSuccess> was intended to create this pop-up which was not appearing. So I changed <OnSuccess> to <OnFailure> to figure out the reason of failure and discovered the error [ActionController::InvalidAuthenticityToken] was causing the problem. This was strange since the non prototype.js counterpart code was working….. Read More

Generate AJAX Loader Animated GIF Using AjaxLoad

AjaxLoad

If you are looking for a free online tool to generate a few AJAX loading GIFs for you – than you must checkout AjaxLoad. It is a free AJAX loading GIF generator and provides good customization options. Important Points Absolutely free to use – no login/registration/email required. You can choose from a variety of animated patterns. You can customize the background color of the GIF image. You can also choose the foreground color to be used. Note – the above colors can be specified using a GUI interface by clicking….. Read More