Don Mapp wrote in post #955952:> I am trying to do a search using an ajax call via a form_tag with
> remote => true, a text_field_tag and a submit tag. The form_tag is
> reaching the controller, but not as an ajax call. I am receiving a 406
> Not acceptable error, which I believe is to do with the accept
> headers. I think this might have something to do with my problem.
> In my layout head I have:-
> <%= javascript_include_tag
>
"prototype.js","scriptaculous.js","menu.js","rails.js"
%>
> and in the controller I have :-
> respond_to do |format|
> format.js
> I am running my website on my local computer using Webrick Ruby .9.2
> and Rails 3
> I am stumped. Can anyone help me by pointing me in a direction to help
> me solve this problem.
Hi, ever solved the problem? I run into the same issue... =>
http://www.ruby-forum.com/topic/1009120#new
--
Posted via http://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-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.