paperclip
https://github.com/thoughtbot/paperclip
Ruby
Easy file attachment management for ActiveRecord
Paperclip::Shoulda::Matchers::HaveAttachedFileMatcher#matches?
No Docs, write some!
Edit
git clone [email protected]:thoughtbot/paperclip.git
cd paperclip
open lib/paperclip/matchers/have_attached_file_matcher.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Paperclip--Shoulda--Matchers--HaveAttachedFileMatcher-matches--for-pr
# Commit to gitgit add lib/paperclip/matchers/have_attached_file_matcher.rbgit commit -m "better docs for Paperclip::Shoulda::Matchers::HaveAttachedFileMatcher#matches?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Paperclip--Shoulda--Matchers--HaveAttachedFileMatcher-matches--for-pr
hub pull-request
# Celebrate!