Skip to content

Instantly share code, notes, and snippets.

@AndyDangerous
Created October 1, 2014 15:04
Show Gist options
  • Save AndyDangerous/5c2a7a852c3cbffb966f to your computer and use it in GitHub Desktop.
Save AndyDangerous/5c2a7a852c3cbffb966f to your computer and use it in GitHub Desktop.
1. When you submit a file to upload, how does that data get to the server?
-isn't that what the gems are for? It gets sucked up into the chasm that is amazon s3, I think.
2. Why do you think Heroku doesn't allow file uploads?
-because they don't want to deal with that. It would be pretty easy to overwhelm them
3. Both CarrierWave and Paperclip nest the files uploaded into folders, one file
per folder. Why would they do that?
-I'm not sure, but I'd guess it is to help with the indexing or something
4. Why do both libraries need database migrations to add columns to the database?
-They need to be able to know where their stored fils live
5. Have you used CarrierWave, Paperclip, or both? If both, do you have a preference?
-I've used Paperclip, but not CarrierWave
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment