Ruby Forum Rails deployment > Ajax and the partials

Posted by Adriano Lul (adrianod)
on 27.03.2008 12:55
I have tried some ajax scripts, but I noticed they don't work on
partials (_form and list in views)
I needed to integrate some ajax functions from rails to my applications,
am I doing something wrong ?
It works when I try doing it on a new application with it own name (i.e
search.rhtml)
Thanks in advance
Posted by Raul (Guest)
on 27.03.2008 16:13
(Received via mailing list)
I'm guessing that you aren't including the required javascript files
(javascript_include_tag :defaults) either in the parent layout, parent
template or partial file. Just guessing though.

Raul


----- Original Message -----
From: "Adriano Lul" <ruby-forum-incoming@andreas-s.net>
To: <rubyonrails-deployment@googlegroups.com>
Sent: Thursday, March 27, 2008 4:55 AM
Subject: [Rails-deploy] Ajax and the partials
Posted by Adriano Lul (adrianod)
on 28.03.2008 13:08
Raul wrote:
> I'm guessing that you aren't including the required javascript files
> (javascript_include_tag :defaults) either in the parent layout, parent
> template or partial file. Just guessing though.
> 
> Raul
> 
> 
> ----- Original Message -----
> From: "Adriano Lul" <ruby-forum-incoming@andreas-s.net>
> To: <rubyonrails-deployment@googlegroups.com>
> Sent: Thursday, March 27, 2008 4:55 AM
> Subject: [Rails-deploy] Ajax and the partials

just my noobness i was declaring default and not dafaults