diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-13 11:20:07 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2018-04-19 13:09:51 +0300 |
commit | a28f25b565c58088d80545ebe483f8cd25c22c10 (patch) | |
tree | b2d1c6ff5e0c5bbed3b1f594c07eff1a9ba997c6 /spec/uploaders/uploader_helper_spec.rb | |
parent | 2c7c8db6a52fb324d72ce14c1c77212826a86b6a (diff) |
Fix direct_upload when records with null file_store are used
Old records have a null value of file_store column.
This causes the problems with current direct_upload implementation,
as this makes it to choose Store::REMOTE instead of Store::LOCAL.
This change moves the store save when change saving the object.
Diffstat (limited to 'spec/uploaders/uploader_helper_spec.rb')
0 files changed, 0 insertions, 0 deletions