aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/lib/active_storage/attached/many.rb
Commit message (Collapse)AuthorAgeFilesLines
* Implement ActiveStorage::Attached::{One,Many}#attach in terms of changesGeorge Claghorn2018-07-131-7/+14
|
* Fix that detaching could purgeGeorge Claghorn2018-07-131-1/+1
|
* Store newly-uploaded files on save rather than assignmentGeorge Claghorn2018-07-071-2/+1
|
* Allow selectively purging attached blobsNicholas Shirley2018-03-061-11/+7
|
* Permit attaching files to new recordsGeorge Claghorn2017-11-191-1/+5
| | | | Closes #31164.
* Introduce ActiveStorage::Attached::{One,Many}#detachGeorge Claghorn2017-11-141-1/+5
|
* Fix file missing in activestorage's example code [ci skip]Yoshiyuki Hirano2017-09-171-1/+1
| | | | | * File.open("~/face.jpg") raise error: `Errno::ENOENT: No such file or directory @ rb_sysopen - ~/face.jpg`
* Use frozen string literal in Active StorageKoichi ITO2017-08-121-0/+2
|
* Merge pull request #30147 from yhirano55/fix_trailing_blank_linesRafael França2017-08-111-1/+0
|\ | | | | [Active Storage] `rubocop -a --only Layout/TrailingBlankLines`
| * [Active Storage] `rubocop -a --only Layout/TrailingBlankLines`Yoshiyuki Hirano2017-08-091-1/+0
| |
* | Fix formatting of Active Storage docs [ci skip]yuuji.yaginuma2017-08-111-1/+1
|/ | | | | * Use `+` instead of backquote. * Remove escape from class to be link
* `module ActiveStorage`, not `ActiveStorage::Class`claudiob2017-08-041-41/+44
| | | | | | | | | | | | | | | | | | The reasons for this commit are: - uniformity with the other Rails libraries - (possibly) behave better with respect to autoloading - fix the index in the generated documentation Before this commit, run `rake rdoc` generates this left sidebar (ActiveStorage entries are indexed twice, both inside and outside the module): <img width="308" alt="before" src="https://user-images.githubusercontent.com/10076/28939523-7c087dec-7846-11e7-9289-38ed4a2930cd.png"> After this commit, run `rake rdoc` generates this left sidebar: (ActiveStorage entries are only indexed inside the module): <img width="303" alt="after" src="https://user-images.githubusercontent.com/10076/28939524-7c090be0-7846-11e7-8ee5-29dfecae548e.png">
* Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'Rafael Mendonça França2017-07-311-0/+51
git-subtree-dir: activestorage git-subtree-mainline: 0d58e7e478e79c2d6b2a39a4444d2a17a903b2a6 git-subtree-split: 3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58