Shrine::Plugins::Reform

Provides Reform integration for Shrine.

Installation

gem "shrine-reform"

Usage

The reform plugin can be loaded globally alongside activerecord plugin.

Shrine.plugin :activerecord
Shrine.plugin :reform
class Post < ActiveRecord::Base
  include ImageUploader[:image]
end
class PostForm < Reform::Form
  include ImageUploader[:image]
end

Contributing

You can run tests with the Rake task:

$ bundle exec rake test

License

MIT