No commit activity in last 3 years
No release in over 3 years
Dummy placeholders as an Active Storage service.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 5.2.0, ~> 5.2
 Project Readme

ActiveStorage Dummy Service

Dummy placeholders as an Active Storage service.

Gem Version

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.