A start at an introductory migration path for moving from Paperclip to [ActiveStorage]. ActiveStorage is coming in Rails 5.2 (April, perhaps) and we want to help people move from Paperclip to it. Having a file upload strategy baked into Rails itself will allow us all to focus our efforts and follow a common goal. This migration guide is rudimentary at best: it works for a `User` object with one `avatar` attachment. It is provided as a framework to start the documentation. I have tried this in a dummy app. [ActiveStorage]: http://edgeguides.rubyonrails.org/active_storage_overview.html
Name |
Last commit
|
Last Update |
---|---|---|
features | Loading commit data... | |
gemfiles | Loading commit data... | |
lib | Loading commit data... | |
shoulda_macros | Loading commit data... | |
spec | Loading commit data... | |
.codeclimate.yml | Loading commit data... | |
.gitignore | Loading commit data... | |
.hound.yml | Loading commit data... | |
.rubocop.yml | Loading commit data... | |
.travis.yml | Loading commit data... | |
Appraisals | Loading commit data... | |
CONTRIBUTING.md | Loading commit data... | |
Gemfile | Loading commit data... | |
LICENSE | Loading commit data... | |
MIGRATING.md | Loading commit data... | |
NEWS | Loading commit data... | |
README.md | Loading commit data... | |
RELEASING.md | Loading commit data... | |
Rakefile | Loading commit data... | |
UPGRADING | Loading commit data... | |
paperclip.gemspec | Loading commit data... |