aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/models/attached
Commit message (Collapse)AuthorAgeFilesLines
* Module#{define_method,alias_method,undef_method,remove_method} become public ↵Ryuta Kamizono2018-12-212-2/+2
| | | | | | since Ruby 2.5 https://bugs.ruby-lang.org/issues/14133
* Ignore ActiveRecord::InvalidForeignKey in ActiveStorage::Blob#purgeJasper Martin2018-07-262-0/+91
| | | 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-192-2/+2
|
* Remove unnecessary tapGeorge Claghorn2018-07-171-10/+8
|
* 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 ↵George Claghorn2018-07-161-26/+11
| | | | overwrite previous attachments
* 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-072-0/+664