Can't get scriptaculous to work


#1

I’m just getting up and running with rails, but I’m pretty sure I’m
using the scriptaculous library correctly. However, when I try to call
an effect I get and endless loop of these errors…

Undefined Value line 486

I’m using these libraries…
<%= javascript_include_tag “prototype” %>
<%= javascript_include_tag “controls” %>
<%= javascript_include_tag “effects” %>

and calling like so:


#2

Todd S. wrote:

Undefined Value line 486

                                           ^

Did you mean to write “this”? ________________|


We develop, watch us RoR, in numbers too big to ignore.


#3

Mark Reginald J. wrote:

Did you mean to write “this”?

Thanks for the extra set of eyes. No, I meant to write “this” instead
of “self”. And that’s exactly where the error is. Switching this fixes
the problem. Sorry for the red herring.