galetahub/ckeditor — pull request #221 by jbourassa (2013-01-23 02:19:57+00:00)
Title: Fix bug with filename not being shown w/ mongoid and carrierwave

`Ckeditor::AttachmentFile#filename` returns nil, but
`Ckeditor::AttachmentFile.first.data_file_name` returns the proper
filename (ie : the filename gets saved). Changing the geneator to this
ensure the name was never nil, both when uploading a new file and when
loading the `index` action.

This may not be the best way to fix the problem, but it worked for me. Let me
know if you can think of a better fix.