Rails 1.1 and RJS Templates for Easily Ajaxifying your Webapp

Well, as you probably know, Ruby on Rails 1.1 has been released.

One of the major new features of 1.1 is the RJS templating language. (hint: it’s really just Ruby!)

RJS is a templating language that allows you to write JavaScript in a native Ruby style.

Some Good RJS Links

Cody Fauser’s Intro to Rails’ RJS
More on RJS and some of its advanced features
Rails JavaScript Generator Methods

Now, here’s an absolute Must-Have RJS Debugging Snippet to drop into your rhtml page when you’re playing around with this stuff:
[ruby]


[/ruby]

(via techno-weenie)

Cross-blogged at sablog.com.

One Response to Rails 1.1 and RJS Templates for Easily Ajaxifying your Webapp
  1. […] As mentioned, Chris did a demo of the new feature in RubyOnRails 1.1 of RJS Templates : Rails JavaScript, a way to have your Ruby generate Javascript, particular all those fine Ajax’y things. (see Rails 1.1 and RJS Templates for Easily Ajaxifying your Webapp. He also had a big shout out for the firefox extension FireBug for your javascript debugging needs. […]