*** Quick help with paperclip ***

View: New views
8 Messages — Rating Filter:   Alert me  

*** Quick help with paperclip ***

by RubyonRails_newbie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: *** Quick help with paperclip ***

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


RubyonRails_newbie wrote:

> 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.

Well, there's your problem.  That page is not meant to be a
word-for-word tutorial; it's just some simple examples?

> It says i need do nothing with the controller, so I guessed this shuld
> work.
>
> Any reason why the upload button is not visible?

Did you put a submit button in your form, or did you just copy the
example like a robot? :)
>
> Cheers

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@...
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: *** Quick help with paperclip ***

by RubyonRails_newbie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I'll be a robot then!!! :-)

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

On 2 Nov, 18:49, Marnen Laibow-Koser <rails-mailing-l...@andreas-
s.net> wrote:

> RubyonRails_newbie wrote:
> > 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.
>
> Well, there's your problem.  That page is not meant to be a
> word-for-word tutorial; it's just some simple examples?
>
> > It says i need do nothing with the controller, so I guessed this shuld
> > work.
>
> > Any reason why the upload button is not visible?
>
> Did you put a submit button in your form, or did you just copy the
> example like a robot? :)
>
>
>
> > Cheers
>
> Best,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@...
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: *** Quick help with paperclip ***

by Greg Donald-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Mon, Nov 2, 2009 at 1:25 PM, RubyonRails_newbie
<craigwesty79@...> wrote:
>
> I'll be a robot then!!! :-)
>
> Will a simple 'submit' button solve my issue then?

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


--
Greg Donald
http://destiney.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: *** Quick help with paperclip ***

by RubyonRails_newbie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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!!!

On 2 Nov, 19:34, Greg Donald <gdon...@...> wrote:

> On Mon, Nov 2, 2009 at 1:25 PM, RubyonRails_newbie
>
> <craigwest...@...> wrote:
>
> > I'll be a robot then!!! :-)
>
> > Will a simple 'submit' button solve my issue then?
>
> This list is for developers, not robots.  Learn HTML and come back next year.
>
> --
> Greg Donaldhttp://destiney.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: *** Quick help with paperclip ***

by Adam Akhtar-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen@...
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: *** Quick help with paperclip ***

by RubyonRails_newbie :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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.

On 2 Nov, 20:24, Marnen Laibow-Koser <rails-mailing-l...@andreas-
s.net> wrote:

> 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,
> --
> Marnen Laibow-Koserhttp://www.marnen.org
> mar...@...
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: *** Quick help with paperclip ***

by Pat Shaughnessy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

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

On Nov 2, 3:04 pm, RubyonRails_newbie <craigwest...@...>
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!!!
>
> On 2 Nov, 19:34, Greg Donald <gdon...@...> wrote:
>
>
>
> > On Mon, Nov 2, 2009 at 1:25 PM, RubyonRails_newbie
>
> > <craigwest...@...> wrote:
>
> > > I'll be a robot then!!! :-)
>
> > > Will a simple 'submit' button solve my issue then?
>
> > This list is for developers, not robots.  Learn HTML and come back next year.
>
> > --
> > Greg Donaldhttp://destiney.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---