I have these two bits of code: <%= render_file @item.path, false %> <%= render :file => @item.path, :layout => false %> The first line works, the second doesn''t (results in a blank page - nothing in the logs either). Any idea what the problem is? Joe -- Posted via http://www.ruby-forum.com/.
Seemingly Similar Threads
- form_tag doesn't accept a string anymore in edge rails?
- undefined method 'render_file' for class 'ActionView::Base'
- Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
- stubbing helper methods for View specs
- has_many.collection<<obj doesn''t set attributes?