Separate the UrlGenerator out from the Attachment. Some example plugins that…
Separate the UrlGenerator out from the Attachment. Some example plugins that could be written include generating thumbnails on the fly for different thumbnail sizes, or delaying the thumbnail generation until it is first called.
Showing
lib/paperclip/url_generator.rb
0 → 100644
This diff is collapsed.
Click to expand it.
test/support/mock_attachment.rb
0 → 100644
test/support/mock_interpolator.rb
0 → 100644
test/support/mock_model.rb
0 → 100644
test/support/mock_url_generator_builder.rb
0 → 100644
test/url_generator_test.rb
0 → 100644
Please
register
or
sign in
to comment