anchor.diff:    var atoken = $("input[name=authenticity_token]").val();  
   	var uploader = new plupload.Uploader({
   		runtimes : 'gears,html5,flash,silverlight,browserplus',
  -		browse_button : 'pickfiles',
  +		browse_button : 'button-holder',
   		container : 'container',
   		max_file_size : '10mb',
  +		upload_path: 'uploads/$_SESSION[id]/',
   		url : '/items',
   		flash_swf_url : '/plupload/js/plupload.flash.swf',
   		silverlight_xap_url : '/plupload/js/plupload.silverlight.xap',
   		//RoR - make sure form is multipart  
         multipart: true,  
  -      //RoR - make sure to send authenticity token and any other parameters that are on the plain html form  
  +//RoR - make sure to send authenticity token and any other parameters that are on the plain html form  
  +   multipart_params: {  
  +    "authenticity_token" : '<%= form_authenticity_token %>'  
  +   }  ,
   		filters : [
   			{title : "Image files", extensions : "jpg,gif,png"},
   			{title : "Zip files", extensions : "zip"}
  
positive.code: 
  	uploader.bind('FilesAdded', function(up, files) {
  		$.each(files, function(i, file) {
  			$('#filelist').append(
  				'<div id="' + file.id + '">' +
  				file.name + ' (' + plupload.formatSize(file.size) + ') <b></b>' +
  			'</div>');
  		});
  
negative.code: });
  </script>
  
  			<!--div id="container">
  
      <div id="filelist">No runtime found.</div>
  
      <br />
  
      <a id="pickfiles" href="#">[Select files]</a>
  
      <a id="uploadfiles" href="#">[Upload files]</a>
  
  </div-->
  
  