osem
https://github.com/opensuse/osem
Ruby
Open Source Event Manager. An event management tool tailored to Free and Open Source Software conferences.
PictureUploader#id_partition
Returns the id of the instance in a split path form. e.g. returns 000/001/234 for an id of 1234. Stolen from paperclip...
Edit
git clone [email protected]:opensuse/osem.git
cd osem
open app/uploaders/picture_uploader.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-PictureUploader-id_partition-for-pr
# Commit to gitgit add app/uploaders/picture_uploader.rbgit commit -m "better docs for PictureUploader#id_partition"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-PictureUploader-id_partition-for-pr
hub pull-request
# Celebrate!