8 thoughts on “Ruby Rails: Ajax is not defined error …”
Thanks for this tip – but….
Isn’t scriptaculous integrated into Ruby? why do we have to define it? that’s what I wondered.
It seems to be like the holy hand grenade. Using it twice is too many.
Whoops. Got my libraries mixed up.
From what i figured out no, you can’t use it directly. Prototype ingrated means that they use prototype in their code,
so you don’t have to download prototype separately and put it in your code, you only have to include it they way it’s on the post.
Have you added the above mentioned
in the rhtml file that displays the contents of your popup?
prototype.js should be included when you add But I’m still getting the same error.
The most wierd thing is that the error is raise when the application runs on mod_rails, but if the application runs on mongrel everything works just fine
Comments are closed.