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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
8133ee52ca72188132b5c7d97dfb967f?d=identicon&s=25 Chris Habgood (chabgood)
on 2009-05-31 22: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.