Forum: Ruby on Rails { head: ok} ??

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Chris H. (Guest)
on 2009-06-01 00:55
(Received via mailing list)
I was looking at the advanced rails recipe for the errata.  It has
format.js { hedda: ok}.  does this not send back a full response so
you  do not require an RJS file?

Also I see that the application helper has the remote_function in it.
Is this a better way to do a remote_function than putting it in the
view along with the ajax call?  Does this circumvent the RJS call or
does the { head: ok } do that?
This topic is locked and can not be replied to.