Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
paperclip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
paperclip
Commits
635f34ec
Commit
635f34ec
authored
May 01, 2012
by
Prem Sichanugrist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add note about Windows Azure and new style default
Fixes #846
parent
cce55f63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletions
+14
-1
README.md
+14
-1
No files found.
README.md
View file @
635f34ec
...
...
@@ -183,6 +183,19 @@ Lastly, you can also define multiple validations on a single attachment using `v
Storage
-------
Paperclip ships with 3 storage adapters:
*
File Storage
*
S3 Storage (via
`aws-sdk`
)
*
Fog Storage
If you would like to use Paperclip with another storage, you can install these
gems along side with Paperclip:
*
[
Windows Azure
](
https://github.com/gmontard/paperclip-azure-storage
)
### Understanding Storage
The files that are assigned as attachments are, by default, placed in the
directory specified by the
`:path`
option to
`has_attached_file`
. By default, this
location is
`:rails_root/public/system/:attachment/:id/:style/:filename`
. This
...
...
@@ -191,7 +204,7 @@ location was chosen because on standard Capistrano deployments, the
will survive between deployments. For example, using that
`:path`
, you may have a
file at
/data/myapp/releases/20081229172410/public/system/
avatars/
13/small/my_pic.png
/data/myapp/releases/20081229172410/public/system/
user/avatar/000/000/0
13/small/my_pic.png
_
**NOTE**
: This is a change from previous versions of Paperclip, but is overall a
safer choice for the default file store._
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment