| Name |
Last commit
|
Last Update |
|---|---|---|
| cucumber | ||
| features | ||
| gemfiles | ||
| lib | ||
| shoulda_macros | ||
| spec | ||
| .gitignore | ||
| .hound.yml | ||
| .rubocop.yml | ||
| .travis.yml | ||
| Appraisals | ||
| CONTRIBUTING.md | ||
| Gemfile | ||
| LICENSE | ||
| NEWS | ||
| README.md | ||
| RUNNING_TESTS.md | ||
| Rakefile | ||
| UPGRADING | ||
| paperclip.gemspec |
Normally, all of the settings would be set on `Attachment`, and they
were `deep_merge`d fine. However, if you set the global
config.paperclip_defaults = { :validate_media_type => false }
then the `HasAttachedFile` class wouldn't pick up on it, because it only
uses things that are defined in the class. This change makes it so that
the default options are merged in to the ones that `HasAttachedFile`
uses when it sets up the attachment.
Fixes #1857
| Name |
Last commit
|
Last Update |
|---|---|---|
| cucumber | Loading commit data... | |
| features | Loading commit data... | |
| gemfiles | Loading commit data... | |
| lib | Loading commit data... | |
| shoulda_macros | Loading commit data... | |
| spec | Loading commit data... | |
| .gitignore | Loading commit data... | |
| .hound.yml | Loading commit data... | |
| .rubocop.yml | Loading commit data... | |
| .travis.yml | Loading commit data... | |
| Appraisals | Loading commit data... | |
| CONTRIBUTING.md | Loading commit data... | |
| Gemfile | Loading commit data... | |
| LICENSE | Loading commit data... | |
| NEWS | Loading commit data... | |
| README.md | Loading commit data... | |
| RUNNING_TESTS.md | Loading commit data... | |
| Rakefile | Loading commit data... | |
| UPGRADING | Loading commit data... | |
| paperclip.gemspec | Loading commit data... |