Thanks for your hints...

Well, the code is actually the following:

<%= check_box_tag 'applicationfile_verified',
      nil,
      applicationfile.verified,
      { :onclick => "#{remote_function(:url => {
                                          :controller => 
'applicationfiles',
                                          :action => 'verify',
                                          :id => applicationfile.id })}" 
} %>

...which results in the following source...

<input class="confirm_testmail_checkbox" id="applicationfile_verified" 
name="applicationfile_verified" 
onclick="jQuery.ajax({data:'authenticity_token=' + 
encodeURIComponent('xV3AqZMywkzf5OWtszT9M54znztmNRg/CO90v0tNnjs='), 
dataType:'script', type:'post', url:'/user/applicationfiles/1/verify'})" 
type="checkbox">

And since the source includes...

    " data:'authenticity_token=' + encodeURIComponent('xV3Ayw...9Nnjs=') 
"

...it would mean the Authenticity Token is there and OK, right?
-- 
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.

Reply via email to