>
> To make it dynamic, I would use form_authenticity_token, not the
> actual value of it.
>
Thanks,
So I make the call like this, it works fine except I'm not sure why
the stuff in the :with part from javascript
doesn't make it into params when I have authenticity_token in
the :url part:
<%= remote_function(:url => {:action => 'resize_field',
:authenticity_token =>
form_authenticity_token,
},
:with =>
'{col:info.col,width:info.width}')
%>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---