WIP on uploading files via json API
submit files via API, uploads to AWS::S3. plus some example scripts to demonstrate how they work.
fountain jbuilder includes image_url attr
force correct aws host name
ignore some credentials files
match API to what client is sending. We don't really need the original filename anyway
filter out image parameter - they tend to be really large (since they are base64 encoded files)
introspect file to determine actual mimetype
api attr is nil when fountain image is blank
update controller params to match new api params
use new api parameters
update Vagrant/provisioning
add hook to reset the db when testing
reprovision basebox with new requirements - uploaded a new box to vagrant cloud!
comment out entire provision block
complete s3 upload tests by recording and stubbing network calls
explicitly error when trying to reset DB in non-test environment
only stub network in test environement
load s3 configuration from .env file - this paves the way for deploying to heroku
only include vcr/webmock in spec_helper. This lets wetap-api talk to s3 when we're using it for wetap-ios integration test