I want to render the contents of a file as the end result of an action.
It appears that Rails assumes that the file is an Erb template and
fails. My file is pre-generated HTML that I built on the server, so I
just want to render the contents of the file.
Can I use render(:file => some_file_name) or do I have to use
render(:text => File.read(some_file_name)?