Ok I am very new too this so I apologize if I do not explain myself
correctly. I have for the past day been trying to use respond_to to no
effect. Explicitly the respond_to |format|
format.js.
Now I know he problem has to do with the fact that there is both an
rhtml and a rjs with the same name. but I have found no reference for
how to formate respond_to correctly for js nor why this is a problem.
I have tried a regular link_to_remote with similar results.
example page.rhtml
contains
link_to_remote ''?'', :url => { "action" =>
"page" }
it works if I change the name for the rjs...so it simply a matter of
duplication. But I can''t figure out what effecting rails to cause this
problem.
I would appreciate any help on this matter.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---