rails
https://github.com/rails/rails
Ruby
Ruby on Rails
ActiveStorage::FileServer#serve_file
No Docs, write some!
Edit
git clone [email protected]:rails/rails.git
cd rails
open activestorage/app/controllers/concerns/active_storage/file_server.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActiveStorage--FileServer-serve_file-for-pr
# Commit to gitgit add activestorage/app/controllers/concerns/active_storage/file_server.rbgit commit -m "better docs for ActiveStorage::FileServer#serve_file"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActiveStorage--FileServer-serve_file-for-pr
hub pull-request
# Celebrate!