-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
@@ -5,6 +5,7 @@ gem 'acts_as_list' | |||
gem 'ar_outer_joins' | |||
gem 'autoprefixer-rails' | |||
gem 'awesome_print' | |||
gem 'aws-sdk-v1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why v1
? aws-sdk
is the newer one, which it seems like Paperclip supports.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not quite yet: thoughtbot/paperclip#1764
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Far enough. Mind adding an inline comment linking to that issue?
<div class='row text-area-info-container'> | ||
<div class='col-xs-7 col-sm-6 text-area-info-web'> | ||
<p> | ||
Attaching a file will associate it with this proposal |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: seems like this would be obvious...no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing to "Attach a file (e.g. receipts, contract documents, etc.)"
A few suggestions, but no blockers. Branch-deploying. |
|
[Delivers #89433964] File upload
Adds paperclip and an attachments model to allow file uploading. This will use S3 if the appropriate environmental variables are set (namely a bucket name, the private, and public key).
Also generalized some styles to work with file uploads as well as comments.
Looks like: