pete wrote:
> Ah, ok, so the suggestion is to add a hidden field with the <%=
> form_authenticity_token %> in it?
>
> Thanks again, I've been messing with this all day...
Did you solved your problem ?
I'm having the same trouble, but in my source html page I can see the
token there:
<form action="/expedients/sdsfds?tokens=" method="post" onsubmit="new
Ajax.Updater('div_listd', '/expedients/sdsfds?tokens=',
{asynchronous:true, evalScripts:true, insertion:'bottom',
parameters:Form.serialize(this)}); return false;"><div
style="margin:0;padding:0"><input name="authenticity_token"
type="hidden" value="c5fb066b9a3370e15f94154cc2140759d40f079c" /></div>
No matter wich action I I call, it never fires. I suppose Rails is
intercepting and stopping it because the token problem.
any ideas ?
thanks,
r.
--
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---