Rails-file-uploading

Hello. I am comp. new in RoR and i have problems.I followed this
instructions:

But when i load
http://localhost:3000/upload/index
in Safari, i get
Template is missing Missing template
app\views\upload\uploadfile.rhtml in view path app/views

This backslashes seems strange to me and i tried with ‘/’ in stead of.
Without success.
I can’t imagine that the tutorial is wrong. So what’s the problem? Thank
you for ideas. eh

Hi there… I wrote a tutorial about uploading files in a Rails app
using a plugin called “Paperclip” - you might want to try that
instead:

http://patshaughnessy.net/2009/4/30/paperclip-sample-app

  • pat

On Oct 16, 6:23 pm, Engadiner H. [email protected]

ok, thank you. But first i spend some time to find a solution for the
other tutorial because i want to understand my mistake.

I think now its really a path-problem. As a only-mac-user i did not
know, that there indeed exists backslash-paths.
eh

Pat Shaughnessy wrote:

Hi there… I wrote a tutorial about uploading files in a Rails app
using a plugin called “Paperclip” - you might want to try that
instead:

Paperclip sample app - Pat Shaughnessy

  • pat

On Oct 16, 6:23�pm, Engadiner H. [email protected]

ok it was a path-desaster combined with a deprecated and subsequently
removed function start_form_tag.

Engadiner H. wrote:

ok, thank you. But first i spend some time to find a solution for the
other tutorial because i want to understand my mistake.

I think now its really a path-problem. As a only-mac-user i did not
know, that there indeed exists backslash-paths.
eh

Pat Shaughnessy wrote:

Hi there… I wrote a tutorial about uploading files in a Rails app
using a plugin called “Paperclip” - you might want to try that
instead:

Paperclip sample app - Pat Shaughnessy

  • pat

On Oct 16, 6:23�pm, Engadiner H. [email protected]

This tutorial was written by a Windows user. Assuming you are working
on a linux / mac osx / unix system you need to change all occurances
of "" to “/” in path specifications.

“app\views\upload\uploadfile.rhtml”

becomes

“app/views/upload/uploadfile.rhtml”

Also, based on the “rhtml” extension I’ld say this tutorial is
somewhat dated. Current practice would be:

“uploadfile.html.erb”

If you don’t already know it, this is a good place to start:

enjoy

On Oct 16, 6:23 pm, Engadiner H. [email protected]

this looks sweet for inline file uploading

http://coderack.org/users/freels/entries/24-inlineuploader