ActsAsHocAvatarable

Ease the use of active storage as avatar This uses ActiveStorage, thus minimum rails version is 5.2

Installation

Add this line to your application's Gemfile:

gem 'acts_as_hoc_avatarable'

And then execute:

$ bundle

Or install it yourself as:

$ gem install acts_as_hoc_avatarable

Usage

install it with:

$ rails generate acts_as_hoc_avatarable:install

And finally migrate with:

$ rails db:migrate

License

The gem is available as open source under the terms of the MIT License.