viewtopic.php?f=18&t=24128
<head> ... <meta content="authenticity_token" name="csrf-param" /> <meta content="GshuwBbbowxSotqKN80U/IrWR428xrnVgewr14lB9lw=" name="csrf-token" /> </head>
<textarea id="textArea" name="textArea"></textarea>
<script type="text/javascript">
var editor = CKEDITOR.replace('textArea', {
removePlugins : 'resize',
extraPlugins : 'autogrow',
autoGrow_maxHeight : 800
});
</script>
CKEDITOR.editorConfig = function( config )
{
config.extraPlugins = 'autosave';
config.toolbar = [['Source','Save','Preview','-', 'Autosave']];
//TODO: replace this URL with a functional one
config.autosaveTargetUrl = '/entries/autosave';
config.autosaveMinTimeBetweenRequests = 30;
config.autosaveRefreshTime = config.autosaveMinTimeBetweenRequests;
};

Re: Adding a CSRF Token For Rails Integration