ActiveStorage Dummy Service
Dummy placeholders as an Active Storage service.
Installation
Add this line to your application's Gemfile:
gem 'activestorage-dummy'
And then execute:
$ bundle install
Usage
config/storage.yml
production:
service: Dummy
urls:
- https://imgplaceholder.com/500x500/ff7f7f/333333/fa-image
- https://imgplaceholder.com/500x500/ff7f7f/333333/fa-fire
- https://imgplaceholder.com/500x500/ff7f7f/333333/fa-star
One url will be randomly picked if more than one.
Limitation
- Does not support any kind of upload.
License
The gem is available as open source under the terms of the MIT License.