Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
generators/paperclip | ||
paperclip | ||
tasks | ||
paperclip.rb |
The MD5 sum of an attachment is only necessary if the model has a corresponding _fingerprint column. If this column is absent, there is no need to calculate the MD5, which can be an expensive operation for large files. Accomplish this by deferring the fingerprint calculation using a block. If the _fingerprint column is absent, the block is never called, and the calculation is avoided.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
generators/paperclip | Loading commit data... | |
paperclip | Loading commit data... | |
tasks | Loading commit data... | |
paperclip.rb | Loading commit data... |