Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
paperclip | ||
support | ||
database.yml | ||
spec_helper.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 |
---|---|---|
.. | ||
paperclip | Loading commit data... | |
support | Loading commit data... | |
database.yml | Loading commit data... | |
spec_helper.rb | Loading commit data... |