George Claghorn
|
0f57f75008
|
Remove unused attribute
|
2018-07-21 14:21:14 -04:00 |
|
George Claghorn
|
28db8ba60e
|
Implement ActiveStorage::Attached::{One,Many}#attach in terms of changes
|
2018-07-13 13:29:33 -04:00 |
|
George Claghorn
|
e8682c5bf0
|
Store newly-uploaded files on save rather than assignment
|
2018-07-07 23:25:33 -04:00 |
|
George Claghorn
|
656ee8b2dd
|
Fix replacing a singular attachment
|
2017-08-29 15:34:50 -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 |
|
Rafael França
|
4766b2da02
|
Merge pull request #30198 from betesh/activestorage-rack-test-uploaded-file
Activestorage rack test uploaded file
|
2017-08-11 17:46:02 -04:00 |
|
Isaac Betesh
|
4287f089d3
|
Make activestorage treat Rack::Test::UploadedFile just like ActionDispatch::Http::UploadedFile
|
2017-08-11 14:43:19 -04:00 |
|
yuuji.yaginuma
|
8458dbfa00
|
Fix formatting of Active Storage docs [ci skip]
* Use `+` instead of backquote.
* Remove escape from class to be link
|
2017-08-11 10:21:40 +09:00 |
|
claudiob
|
bb7599a6c8
|
module ActiveStorage , not ActiveStorage::Class
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">
|
2017-08-04 16:40:10 -07:00 |
|
Rafael Mendonça França
|
5bfff1de54
|
We need to require the top file before individual one
|
2017-08-03 17:02:43 -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 |
|
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 |
|