Link_to(... :popup => true) problem


I have a file_column that points to a pdf. I want that pdf to open in a
new window, thus wrote the code:

<%= link_to(‘PDF version’, url_for_file_column(‘floor_plan’,
‘pdf_file’), :popup => true) %>

which generates the code:

PDF version

The problem is that while this works in IE/Win it opens a blank popup on
Safari and Mozilla, and opens the PDF in Preview (well, Mozilla asks
first). So, the only case where this construct works is IE/Win. Wow!

Any thought on how to make the PDF appear in the popup, as originally
planned? I don’t want to litter people’s downloads directories with