How hard is it to do Ajax commenting? Can anyone provide an example, maybe using scriptaculous as well? I''m thinking this is fairly simple, but maybe I''m wrong. Thanks. -- Posted via http://www.ruby-forum.com/.
ryan heath wrote:> How hard is it to do Ajax commenting? Can anyone provide an example, > maybe using scriptaculous as well? I''m thinking this is fairly simple, > but maybe I''m wrong. > > Thanks.Ryan, You just need to use the "form_remote_tag" for your comment form; that will make your rails application automatically use Ajax to handle the post. ~Jimmy -- Posted via http://www.ruby-forum.com/.
Jimmy wrote:> ryan heath wrote: >> How hard is it to do Ajax commenting? Can anyone provide an example, >> maybe using scriptaculous as well? I''m thinking this is fairly simple, >> but maybe I''m wrong. >>You can check out: http://www.railshosting.org/#draggable_comments_window for an example and brief tutorial. Cheers, ~William -- Posted via http://www.ruby-forum.com/.