On Nov 21, 2012, at 4:57 PM, John Dunlap wrote:
I’ve been thinking of doing a RoR application for a file sharing site a
la imgur, but for other kinds of files (Namely 3D modeling stuff.) Is
there a decent tutorial for this sort of app? I’ve been told that
paperclip for ruby might be a decent place to start, but I could see a
lot of landmines in this sort of app.
Sorry in advance if this gets asked twice a day - this is my first post.
Welcome! If you haven’t already, please do yourself an enormous favor
and work all the way through Michael H.'s Rails Tutorial. It’s free
to use on line, and there are for-pay screencasts and PDF materials,
Then, have a look at http://ruby-toolbox.com, where you can find a bunch
of categorized Gems and Engines for almost any sort of task. Paperclip
is really good, well tested and mature. I also really like Dragonfly,
but the best case for that one is any time you don’t know up front how
large you may want to show your images. It allows you to lazy-thumbnail
to any dimension after the image has been uploaded and stored. Finally,
there’s also CarrierWave, which I’ve used once, and liked a lot. All of
these allow you to use a cloud storage option, so you don’t have to
worry about your server filling up and 'sploding.