Thanks for all the input, turns out I didn't have my javascript ducks
in a row, since I'm a JS newb.

I'm going with an all jquery solution, and I needed to do the
following things:
# in the layouts/application.html.erb
# remove the line   <%= javascript_include_tag :defaults %>
# and add....
<%= javascript_include_tag 'jquery-1.4.3.js', 'rails', 'application'
%>

and in my public/javascripts directory
add 'jquery-1.4.3.js' and 'rails.js' (from https://github.com/rails/jquery-ujs)

Works like a dream now!

Dave

On Nov 18, 12:16 pm, Marnen Laibow-Koser <li...@ruby-forum.com> wrote:
> Zoltan Gero wrote in post #962389:
>
> > Hello,
>
> > Is any method associated with it i your controller? like:
> > def destroy
> > �...@user.destroy
> >   redirect_to....
> > end
>
> > For first shot for me it seems to be the problem, not JavaScript.
>
> No.  The problem is that for some reason the JavaScript is not being
> generated, or at least not firing, as expected.
>
> To the OP: do you see the generated JS in the page source?
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@marnen.org
>
> --
> Posted viahttp://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to