Kyle Keesling
79e086efc4
update activestorage attachment model documentation reflect recent behavior changes
2018-10-24 09:08:45 -04:00
George Claghorn
cd2fe237f7
Guard against missing blobs caused by concurrent purges
2018-07-30 21:42:20 -04:00
George Claghorn
3f53296f18
Delete attachment before purging blob
2018-07-19 20:26:56 -04:00
George Claghorn
ac6e6c6b99
Clarify the ActiveStorage::Attachment#purge and #purge_later docs
...
Link to the corresponding ActiveStorage::Blob methods, whose docs more accurately describe their effects. [ci skip]
2018-07-18 21:59:31 -04:00
George Claghorn
e8682c5bf0
Store newly-uploaded files on save rather than assignment
2018-07-07 23:25:33 -04:00
Dwight Watson
8e8f09fa18
Flip the order of the after_create callbacks
...
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
2018-03-27 12:58:19 +11:00
George Claghorn
c2ba530c43
Extract content types from blob data
2018-01-15 13:06:17 -05:00
George Claghorn
605484079d
Extract metadata from images and videos
2017-10-22 13:16:59 -04:00
George Claghorn
2cd8ac1b68
Have attachments touch their records
2017-08-31 20:10:56 -04:00
George Claghorn
d3e7dc6f16
Synchronously destroy attachments
2017-08-29 00:02:59 -04:00
Xavier Noria
ae87217382
minor tweaks in Active Storage after a walkthrough
2017-08-15 18:50:46 +02:00
Koichi ITO
d02844f249
Use frozen string literal in Active Storage
2017-08-12 21:43:42 +09:00
Koichi ITO
d90f261562
Fix formatting of Active Storage docs [ci skip]
...
Follow up of #30188 .
2017-08-11 13:15:23 +09:00
Rafael França
66e5bf9d07
Merge pull request #30061 from claudiob/ast-rubocop
...
Make Rubocop happy about ActiveStorage
2017-08-03 17:24:45 -04:00
Rafael Mendonça França
f601a01b2c
Do not eager load ActiveRecord::Base
...
Everything inside the app directory of a engine is autoload/eager loaded automatically so we don't need to require them.
2017-08-03 16:57:48 -04:00
claudiob
9d636c9e2f
Make Rubocop happier about ActiveStorage
...
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 )
2017-08-03 11:43:08 -07:00
Rafael Mendonça França
9330d01ada
Add 'activestorage/' from commit '3f4a7218a4a4923a0e7ce1b2eb0d2888ce30da58'
...
git-subtree-dir: activestorage
git-subtree-mainline: 0d58e7e478
git-subtree-split: 3f4a7218a4
2017-07-31 15:21:22 -04:00