gitlabhq
https://github.com/gitlabhq/gitlabhq
Ruby
GitLab CE Mirror | Please open new issues in our issue tracker on GitLab.com
ApplicationRecord.safe_find_or_create_by!
No Docs, write some!
Edit
git clone [email protected]:gitlabhq/gitlabhq.git
cd gitlabhq
open app/models/application_record.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ApplicationRecord-safe_find_or_create_by--for-pr
# Commit to gitgit add app/models/application_record.rbgit commit -m "better docs for ApplicationRecord.safe_find_or_create_by!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ApplicationRecord-safe_find_or_create_by--for-pr
hub pull-request
# Celebrate!