aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/models/attached/one_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Ignore ActiveRecord::InvalidForeignKey in ActiveStorage::Blob#purgeJasper Martin2018-07-261-0/+35
| | | Do nothing instead of raising an error when it’s called on an attached blob.
* Add a foreign-key constraint to the attachments table for blobsGeorge Claghorn2018-07-191-1/+1
|
* Test removing attachments via #attachGeorge Claghorn2018-07-161-4/+27
|
* Clear attachment changes on reloadGeorge Claghorn2018-07-131-0/+8
|
* Implement ActiveStorage::Attached::{One,Many}#attach in terms of changesGeorge Claghorn2018-07-131-20/+65
|
* Fix that detaching could purgeGeorge Claghorn2018-07-131-0/+15
|
* Fix analyzing new blobs from uploaded files on attachGeorge Claghorn2018-07-131-0/+58
|
* Raise an ArgumentError instead of a RuntimeErrorGeorge Claghorn2018-07-081-1/+1
|
* Store newly-uploaded files on save rather than assignmentGeorge Claghorn2018-07-071-0/+329