Skip to content

SunshineLibrary/mongoid_unpack_paperclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mongoid_unpack_paperclip

给含有paperclip的Mongoid 支持解压缩包和清理的封装。

Usage

class ExampleModel
  include Mongoid::Paperclip
  include Mongoid::UnpackPaperclip

  def process
    self.unpack_paperclip do
      ... # your implementation
    end
  end
end

About

给含有paperclip的Mongoid 支持解压缩包和清理的封装。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published