【文件属性】:
文件名称:refile-mongoid:允许MongoID与重新归档一起很好地播放
文件大小:6KB
文件格式:ZIP
更新时间:2021-05-01 00:16:33
Ruby
Refile :: Mongoid
于扩展名。
安装
将此行添加到您的应用程序的Gemfile中:
gem 'refile-mongoid'
用法
require "refile/mongoid"
class User
include Mongoid :: Document
extend Refile :: Mongoid :: Attachment
attachment :profile_image
end
执照
【文件预览】:
refile-mongoid-master
----bin()
--------rake(364B)
----Rakefile(116B)
----Gemfile(39B)
----refile-mongoid.gemspec(793B)
----spec()
--------config()
--------support()
--------refile()
--------spec_helper.rb(243B)
----.gitignore(30B)
----lib()
--------refile()
----README.md(396B)
----LICENSE.txt(1KB)