Render_file works, render :file doesn't

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

Joe wrote:

<%= render_file @item.path, false %>

Changing this to below causes it not to work. WTF?

<%= render_file @item.path %>

Joe