- 09 Aug, 2013 1 commit
-
-
Content Type errors were incorrectly being set as an array on the base attribute rather than being set individually as strings.
Dan Collis-Puro committed
-
- 31 Jul, 2013 2 commits
-
-
Copying attribute validation failures up to the root object breaks the validate_attachment_presence_matcher when other paperclip validations have failed. This fixes this bug.
Dan Collis-Puro committed -
Jon Yurek committed
-
- 30 Jul, 2013 4 commits
-
-
Jon Yurek committed
-
Jon Yurek committed
-
Zach Millman committed
-
Added the sample .mp4 file from Apple's QuickTime sample page: http://support.apple.com/kb/ht1425
Zach Millman committed
-
- 29 Jul, 2013 2 commits
- 25 Jul, 2013 1 commit
-
-
Jon Yurek committed
-
- 23 Jul, 2013 1 commit
-
-
Jon Yurek committed
-
- 18 Jul, 2013 4 commits
-
-
Marco Otte-Witte committed
-
You can either specifiy :restricted_characters or you can define your own :filename_cleaner object. This object needs to respond to #call and takes the filename that will be cleaned. It should return the cleaned filenme.
Jon Yurek committed -
Max Melentiev committed
-
Max Melentiev committed
-
- 17 Jul, 2013 1 commit
-
-
Jon Yurek committed
-
- 16 Jul, 2013 3 commits
-
-
Jon Yurek committed
-
Return the default path when the attachment has no remote file
Adam Milligan committed -
Using the ActiveRecord validations is smart in order to lessen load on the project to develop our own validators, but it's problematic in that calling `valid?` on the record fires off all the other validations -- including those on fields which may not be set yet because of mass-assignment. This commit will "pre-validate" the attachment's fields so that it doesn't process an invalid attachment, but it does so by running its validations manually on assignment.
Jon Yurek committed
-
- 21 Jun, 2013 1 commit
-
-
This propagates attachment size and content_type validations to the main attachment attribute, to make them behave the same as presence validations. This allows paperclip to play more nicely with simple_form and other form abstraction gems. This commit includes a behaviorial change. If you emit all errors on a model instance you will see some failed validations twice: once for the base attachment attribute and again for the failed presence, content_type or size attachment attributes.
Dan Collis-Puro committed
-
- 15 Jun, 2013 1 commit
-
-
Edward Holets committed
-
- 14 Jun, 2013 19 commits
-
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
There was a spec that was failing because we removed .attachment_definitions from models, I expected this to fix it, but apparently it hasn't.
George Brocklehurst committed -
George Brocklehurst committed
-
George Brocklehurst committed
-
George Brocklehurst committed
-
George Brocklehurst committed
-
Mike Burns committed
-
Mike Burns and George Brocklehurst committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns committed
-
Mike Burns and George Brocklehurst committed
-