aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/app/models/active_storage/attachment.rb
Commit message (Collapse)AuthorAgeFilesLines
* Mirror direct uploadsGeorge Claghorn2019-05-221-1/+5
|
* Add load hook for ActiveStorage::AttachmentGeorge Claghorn2019-03-281-0/+2
|
* update activestorage attachment model documentation reflect recent behavior ↵Kyle Keesling2018-10-241-3/+2
| | | | changes
* Guard against missing blobs caused by concurrent purgesGeorge Claghorn2018-07-301-3/+3
|
* Delete attachment before purging blobGeorge Claghorn2018-07-191-2/+2
|
* Clarify the ActiveStorage::Attachment#purge and #purge_later docsGeorge Claghorn2018-07-181-2/+2
| | | | Link to the corresponding ActiveStorage::Blob methods, whose docs more accurately describe their effects. [ci skip]
* Store newly-uploaded files on save rather than assignmentGeorge Claghorn2018-07-071-4/+14
|
* Flip the order of the after_create callbacksDwight Watson2018-03-271-1/+1
| | | | | | | | | | Addresses rails/rails#32247 Add test that checks identify and analyze work in correct order Break out direct upload test helper Review changes for direct-upload test helper
* Extract content types from blob dataGeorge Claghorn2018-01-151-1/+5
|
* Extract metadata from images and videosGeorge Claghorn2017-10-221-0/+7
|
* Have attachments touch their recordsGeorge Claghorn2017-08-311-1/+1
|
* Synchronously destroy attachmentsGeorge Claghorn2017-08-291-6/+4
|
* minor tweaks in Active Storage after a walkthroughXavier Noria2017-08-151-3/+3
|
* Use frozen string literal in Active StorageKoichi ITO2017-08-121-0/+2
|
* Fix formatting of Active Storage docs [ci skip]Koichi ITO2017-08-111-1/+1
| | | | Follow up of #30188.
* Merge pull request #30061 from claudiob/ast-rubocopRafael França2017-08-031-1/+1
|\ | | | | Make Rubocop happy about ActiveStorage
| * Make Rubocop happier about ActiveStorageclaudiob2017-08-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Running `rubocop activestorage` before this commit resulted in 20 offenses. This commit only fixes: - Trailing whitespace detected - Space inside } missing - Put one space between the method name and the first argument. The other offenses are left since they are intentional according to @georgeclaghorn (https://github.com/rails/rails/pull/30061#issuecomment-319999190)
* | Do not eager load ActiveRecord::BaseRafael Mendonça França2017-08-031-1/+0
|/ | | | Everything inside the app directory of a engine is autoload/eager loaded automatically so we don't need to require them.
* Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'Rafael Mendonça França2017-07-311-0/+29
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58