I’m developing my first Rails real application on my own. I’m facing
this problem: I would like to show a preview of files inside a page,
the kind of files I want to show can vary from image files (ong, jpeg,
gif, ttf ecc) to text-like files (rtf, doc, txt, pdf, ppt ecc). How
can I do that with rails? Any help would be really appreciated! Thank
you in advance.