aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/models
Commit message (Expand)AuthorAgeFilesLines
* Fix replacing many attachments via assign and attachGeorge Claghorn2018-07-171-0/+36
* Correct test nameGeorge Claghorn2018-07-161-1/+1
* Fix that successive ActiveStorage::Attached::Many#attach calls would overwrit...George Claghorn2018-07-161-26/+11
* Test removing attachments via #attachGeorge Claghorn2018-07-162-12/+59
* Clear attachment changes on reloadGeorge Claghorn2018-07-132-0/+16
* Implement ActiveStorage::Attached::{One,Many}#attach in terms of changesGeorge Claghorn2018-07-132-29/+153
* Fix that detaching could purgeGeorge Claghorn2018-07-132-0/+32
* Fix analyzing new blobs from uploaded files on attachGeorge Claghorn2018-07-132-0/+116
* Raise an ArgumentError instead of a RuntimeErrorGeorge Claghorn2018-07-082-2/+2
* Store newly-uploaded files on save rather than assignmentGeorge Claghorn2018-07-076-531/+674
* Fix that models can clobber each others' attachment reflectionsGeorge Claghorn2018-07-071-14/+19
* Permit configuring the default service URL expiryGeorge Claghorn2018-06-211-3/+3
* Refactor activestorage/test/models/attached_test.rbbogdanvlviv2018-06-071-19/+21
* Merge pull request #33018 from kddeisz/defined-attachmentsRafael França2018-06-011-0/+29
|\
| * Move ActiveStorage reflection logic entirely into ActiveStorageKevin Deisz2018-05-311-2/+2
| * Reflection for attachmentsKevin Deisz2018-05-301-0/+29
* | Remove errant debugger callGeorge Claghorn2018-05-301-1/+0
* | Include blob ID in tempfile name for debugging convenienceGeorge Claghorn2018-05-301-5/+9
|/
* Verify integrity after chunked downloadGeorge Claghorn2018-05-281-1/+11
* Change video preview format from PNG to JPGJavan Makhmali2018-05-231-2/+2
* Disable variant options when false or nil presentJacob Smith2018-05-211-0/+61
* Permit opening a blob in a custom tempdirGeorge Claghorn2018-05-171-0/+12
* Generate getter and setter methods in mixinJosh Susser2018-05-171-0/+54
* Add ActiveStorage::Blob#openGeorge Claghorn2018-05-161-0/+9
* Add option to ActiveStorage::Blob to set extract_content_type_from_ioRyan Davidson2018-05-081-0/+10
* Stream blobs from disk in 5 MB chunksGeorge Claghorn2018-04-291-3/+3
* Merge pull request #31956 from fatkodima/has_attached-presence-validationEileen M. Uchitelle2018-04-271-0/+30
|\
| * has_(one/many)_attached presence validationfatkodima2018-02-111-0/+30
* | Show ImageProcessing macros in a dedicated exampleJanko Marohnić2018-04-231-3/+13
* | Rename ActiveStorage.processor to .variant_processorJanko Marohnić2018-04-221-4/+4
* | Use ImageProcessing gem for ActiveStorage variantsJanko Marohnić2018-04-181-12/+35
* | Use a current model to provide the host for service urlsAndrew White2018-04-061-1/+1
* | Flip the order of the after_create callbacksDwight Watson2018-03-271-3/+13
* | Allow selectively purging attached blobsNicholas Shirley2018-03-061-0/+28
* | Fix purging dependent blobs when attachments aren't loadedGeorge Claghorn2018-03-051-2/+16
* | Delete dependent attachments with recordGeorge Claghorn2018-03-051-0/+14
* | Generate root-relative paths in Active Storage disk service URL methodsGeorge Claghorn2018-03-052-2/+1
* | Handle another case where a blob might be erroneously purgedGeorge Claghorn2018-03-041-0/+12
* | Avoid purging attached blob when replacing it with itselfGeorge Claghorn2018-03-041-0/+12
* | Support varying ICO filesGeorge Claghorn2018-02-241-0/+11
* | Add ActiveStorage::Blob.unattached scopefatkodima2018-02-121-0/+17
|/
* Fix `blob.service_url` for supports string or nil `:filename` option.Jason Lee2018-02-081-0/+2
* Allow `ActiveStorage::Blob#service_url` to pass addition options to `service....Jason Lee2018-02-011-0/+20
* Add a test for ActiveStorage::Blob#image? and ActiveStorage::Blob#video?Shuhei Kitagawa2018-01-291-0/+12
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-253-21/+21
* Extract content types from blob dataGeorge Claghorn2018-01-153-3/+36
* Extract Analyzable and Representable concernsGeorge Claghorn2018-01-103-3/+3
* Allow overriding filename in `Blob#service_url`Rosa Gutierrez2018-01-081-3/+14
* Force content disposition to attachment for specific content typesRosa Gutierrez2018-01-051-0/+9
* Restore support for the -layers transformationGeorge Claghorn2018-01-021-0/+8