You'll need to grab the token on the server side - see line 1065 of
prototype_helper.rb for more detail.
But before you do that, you may want to take a look at the rest of
PrototypeHelper; what you're doing looks to be well-covered by the
methods already available, which could save you a lot of
Oh, wait, I need to pass the parameter of the authenticity_token to
the url. How can I do this?
--~--~-~--~~~---~--~~
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
What shows up in the log when you try this action? That will give you
more info...
--Matt Jones
On Jul 24, 8:09 am, JannaB mistressja...@hotmail.com wrote:
I am making an ajax call from js to call a method (assocboxchange) in
my controller (AssociatesController), using XMLHttpRequest. I know
What a great tool. When I click the select box, in firebug, I see a
RED:
POST http://localhost:3000/channels/assocboxchange/
with a littel red circle with a white X in it. IF I look at the
parameters, those seem to be passed properly.
In my ChannelsController, I have:
def assocboxchange
On Fri, 2009-07-24 at 05:09 -0700, JannaB wrote:
it is posting somewhere and I believe that because in firefox,
the error concole is clean.
The console tab in the Firebug plugin is what you want to be looking at.
It will tell you if / where your app is making requests and the
parameters
5 matches
Mail list logo