Home

Awesome

Refile::Mongoid

Mongoid extension for Refile.

Installation

Add this line to your application's Gemfile:

gem 'refile-mongoid'

Usage

require "refile/mongoid"

class User
  include Mongoid::Document
  extend Refile::Mongoid::Attachment

  attachment :profile_image
end

License

MIT