Displaying a Carrierwave filename in the view
Solution 1:
I have been able to get the filename via the file
internal parameter:
<%= @page.form.file.filename %>
Solution 2:
The documentation you're looking at is the sanitized file, it's what it uses for actually storing a file. The part you're looking for is FormUploader, which is an Uploader, and part of http://rubydoc.info/gems/carrierwave/0.5.2/CarrierWave/Uploader
If you want to get the file name, you could either read it from the database column directly, or use File.basename(@page.form.path)
to extract it easily.
Solution 3:
The Carrierwave docs might be a bit off, but recommended way seems to be:
@page.form.file.identifier