*** Quick help with paperclip ***

Hi All,

Someone reccomended using paperclip as a way to easily upload photos.

Basically I want a quick and easy solution to allow users to add a
profile picture.

Anyway - I have followed the tutorial on here:
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/

I can add a file, but there isnt anywhere to upload it.

I have followed the above tutorial word for word, but i dont get it.
It says i need do nothing with the controller, so I guessed this shuld
work.

Any reason why the upload button is not visible?

Cheers

I'll be a robot then!!! :slight_smile:

Will a simple 'submit' button solve my issue then?

This list is for developers, not robots. Learn HTML and come back next year.

Thanks for the really positive reply!

I know html, but that's not exactly the problem when it comes to
ensuring the upload functionality works!!!

RubyonRails_newbie wrote:

Thanks for the really positive reply!

I know html, but that's not exactly the problem when it comes to
ensuring the upload functionality works!!!

It sure sounds like an HTML issue. If not, then what problem *are* you
having?

Best,

To be honest I'm new to ruby on rails so am following tutorials as I
go..

I assumed there would have to be an upload function in one of the
controllers to get this to work. As i'm relying on what I find online
I guessed I'd missed something, but not 100% sure..

Ill have to do more digging.

Hi... sorry about those unhelpful replies; we were all beginners once
too :frowning:

I wrote a paperclip tutorial that might help; I tried to write out
step by step instructions:
http://patshaughnessy.net/2009/4/30/paperclip-sample-app

I've also been working on extending the scaffolding feature Rails
provides to allow people to create scaffolding for specific plugins;
this might be a good way for you to get started:
http://patshaughnessy.net/2009/10/16/paperclip-scaffolding

. - pat