To migrate the application as of April 2020: • leave models/screenshot.rb with “has_attached_file” • bundle exec rake db:migrate • bin/move_paperclip_to_activestorage • set models/screenshot.rb to “has_one_attached” |
||
|---|---|---|
| .. | ||
| .keep | ||
| accesslog2visits.rake | ||
| import_debian.rake | ||
| paperclip_to_activestorage.rake | ||
| remove_broken_screenshots.rake | ||
| remove_image_duplicates.rake | ||
| screenshots_to_paperclip.rake | ||