On Thu, Sep 18, 2008 at 7:54 AM, Robin Fisher <[EMAIL PROTECTED]>wrote:

>
> On Sep 18, 3:00 pm, CPerry <[EMAIL PROTECTED]> wrote:
> >
> > But, like you said, having those extra options may benefit me more in
> > the long run.
> >
> > --Cory
> >
>
> Hi Cory,
>
> I've used both on separate projects and agree with Mauricio that
> Paperclip is easier to use but it is really only for use where you
> have a model (e.g. Person), who has an attribute of photo.  If you
> want the Person to have multiple photos, you would need to use
> attachment_fu and if you want the photo to have its own attributes
> (e.g. title, location), attachment_fu would be the way to go.
>
> Best Regards
>
> Robin
>

I have used both extensively.  You can just as easily have a separate model
for the purpose of having multiple photos with paperclip, as you can with
attachment_fu.  One key advantage of paperclip over attachment_fu when you
have many images is that paperclip only needs one record for the image and
all its thumbnails, whereas attachment_fu uses a database record for each
thumbnail as well.  When you are dealing with hundreds of thousands of
images, this decreased database usage can become significant.


--
Benjamin Curtis
http://railskits.com/ - Ready-made Rails code
http://catchthebest.com/ - Team-powered recruiting
http://www.bencurtis.com/ - Personal blog

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to