On 12/3/05, Nathaniel S. H. Brown email@example.com wrote:
I have tried to hunt down some more information on the RJS templates and
have found not much more than a few examples on the web.
What I was really looking for was a spec, or API reference which outlines
all the different methods of the “page” object that is available within the
The main docs aren’t updated until a new version is posted, so you’ll
have to generate them yourself.
Then, open path/to/rails/trunk/actionpack/doc/index.html in your
browser and look for
One unlisted method (it’s protected) is #record, which you’ll see if
you look at the source of the other methods. It’s for outputting raw
page.send :record, “alert(‘hello’)”