Archive for rjs

How to: use render :js

render :js is a fantastic way to further decrease the line of codes for rendering the response for XHR (XML HTTP Requests or simply Ajax/RJS calls). The usual way to render the response for XHR requests is either using an rjs template or using the render :update block. I definitely prefer using the render :update [...]

Continue reading » No comments