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