Archive for the ‘ajax’ tag

Rails and AJAX   no comments

Posted at 2:35 pm in Ruby

Rails and rjs templates are the best thing ever!

Do a remote AJAX call from your page and in the linking controller’s view folder have a template called #{action_name}.rjs

In your rjs template you write code in ruby which is translated into javascript which can control your page content. So you can replace html, insert partials and do page effects.

Written by Jamie on February 6th, 2007

Tagged with , ,