Skip to content

[OUTDATED] Reform integration for Shrine

License

Notifications You must be signed in to change notification settings

bookmate/shrine-reform

 
 

Repository files navigation

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::Attachment.new(:image)
end
class PostForm < Reform::Form
  include ImageUploader::Attachment.new(:image)
end

Contributing

You can run tests with the Rake task:

$ bundle exec rake test

License

MIT

About

[OUTDATED] Reform integration for Shrine

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%