All, 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)? Thanks, Wes -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---