I got the gem to work properly, I hadn't installed ImageMagick, once I
did that it worked. I'd also not called the ".save" method so the path
to the image was all messed up.


On Jan 30, 3:13 pm, john wesonga <[email protected]> wrote:
> I've added it and it works fine, I'm just not sure its uploading the
> files , I checked my bucket and nothing was inside it. I also noticed
> the URL provided was kind off strange, I have docs in one of my
> buckets and the URL ishttp://docs.jwesonga.s3.amazonaws.com/<filename>
>
> docs.jwesonga is the bucket name
>
> But in my view I have <img src="http://s3.amazonaws.com/docs.jwesonga/
> photos//original.jpg?2009130142115&01301421159" />
>
> On Jan 30, 2:44 pm, "Michael D'Auria" <[email protected]>
> wrote:
>
> > Did you add it to your dependencies file?
>
> > Michael
>
> > On Fri, Jan 30, 2009 at 2:01 PM, john wesonga <[email protected]> wrote:
>
> > > I setup the gem, and included "include Paperclip::Resource" in my
> > > model, when I tried to do a "rake db:automigrate" I keep getting this
> > > error:
>
> > > uninitialized constant Upload::Paperclip - (NameError)
>
> > > Any idea what could be causing this?
>
> > > On Jan 29, 11:29 pm, "Michael D'Auria" <[email protected]>
> > > wrote:
> > > > There is also dm_paperclip, which is for DM and will upload to S3:
> > >http://github.com/krobertson/dm-paperclip/
> > > > Michael
>
> > > > On Thu, Jan 29, 2009 at 9:28 PM, Richard Boldway <[email protected]
> > > >wrote:
>
> > > > > John,
>
> > > > > Paperclip is a plugin that is for Rails and Merb that will store on 
> > > > > S3.
> > > > > Clayton athttp://www.lengelzigich.com/posts/paperclip-and-amazon-s3
> > > > > is a good place to start.  However, I checked at
> > > > >http://github.com/jaikoo/universal-paperclip/tree/masterandthenote
> > >  > > there states:
>
> > > > > splitting up DM and AR support. AR works, but DM is still work in
> > > > > progress. Please don't try to use DM with this gem unless you are sure
> > > you
> > > > > know what you are doing
>
> > > > > Good Luck....
>
> > > > > Rich
> > > > > RichOnRails
>
> > > > > john wesonga wrote:
> > > > > > Hi, I need a file uploader that uploads to amazon s3, In rails we
> > > have
> > > > > > attachment_fu which works like a charm, in merb someone has 
> > > > > > attempted
> > > > > > to port the same plugin and failed. I've tried attachmerb_fu plugin
> > > > > > and its not working, anybody have an alternative implementation?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to