SlideShare a Scribd company logo
The roadtrip that led to my first Rails commit
and how you could make yours too..
The requirement
1. A custom rake task with command line arguments
passed to it
2. Run the rake task for specific environments
3. Do this in Rails 4.1.x
The search
● Blogs, Stackoverflow
○ Found a blog closest to my requirement
● Rails Guides
○ Checked what they said about custom rake tasks
The commit
The actual code that used the changes
The process
1. Forking Rails for the first time?
a. Fork the Rails repo from this link
2. Already forked Rails repo but not updated it?
a. Do a fetch, checkout master branch
b. Rebase local master with remote master
c. You can find the exact git commands here
3. Follow up steps applicable to step 1 and 2 mentioned
above
a. Create a meaningful branch name
b. Make your changes
c. Use a meaningful commit message
d. Create a Pull Request(PR)
e. Add a summary of changes to explain your PR
An example of using meaningful commit
details
The experience
● Rails core team members
○ very friendly
○ approachable
● Commit was merged in almost no time
● Here’s the pull request if you’d like to see it
● I have blogged about the experience here
How you could make your first Rails
commit?
● Find missing gaps(I just did that and it helped)
● Refer pointers mentioned on the Rails guides
○ An example guideline that they’ve mentioned here -
How you could make your first commit?(contd.)
● Commit as a pair - yes that’s possible :)
● Simply see how others are contributing
● Read articles/videos from others experiences
○ How to land your first patch in Rails(Ben Orenstein)
○ RailsConf 2014 - Get More Hands on Your Ke
(Manik Juneja)
○ How I submitted my 1st patch to Rails (Nithin Bekal)
How you could make your first commit?(contd.)
Takeaways
1. Start small but get started
2. You get confidence to contribute more
3. You feel more connected with the
community
4. Leap of faith - Can one be more?
Thank you
Photo credits
● Open Source Rails - David Anderton(@dwanderton)
Twitter - @mohnishgj
Github - boddhisattva
Blog - boddhisattvadedicates.blogspot.com
Mohnish G Jadwani

More Related Content

PDF
GPG Signing Git Commits
PPTX
Overview: Video Preservation and Discovery
PPTX
Salesforce winter’13 release
DOCX
Psiphon Tutorial in Chinese
PPTX
Transforming Research by Teaching Core Information Literacy Principles, ProQu...
PDF
Podcasts - what, why, when and how
PPT
askJCPL
PPT
ProQuest's Library Futures Forum 2014 - Create Your Future the Peter Drucker ...
GPG Signing Git Commits
Overview: Video Preservation and Discovery
Salesforce winter’13 release
Psiphon Tutorial in Chinese
Transforming Research by Teaching Core Information Literacy Principles, ProQu...
Podcasts - what, why, when and how
askJCPL
ProQuest's Library Futures Forum 2014 - Create Your Future the Peter Drucker ...

Viewers also liked (18)

PDF
Tor Bridges Tutorial in Chinese
PPT
Improving Listening Skills in Multi-Level Classes With Streaming Video - Powe...
PPTX
Salesforce Summer'13 - Chennai DUG
PPTX
Chennai salesforce platform developer meetup october–
DOCX
Tutorial on how to use Tor Browser in Chinese
PPSX
Chennai salesforce platform user group
DOCX
Chinese freegate
PDF
How Extraordinary Leaders Double Profits
PDF
How Extraordinary Leaders Double Profits
PPTX
ProQuest's Library Futures Forum 2014 - Gary Price
PPTX
Introduzione evento pro quest collabora con i bibliotecari italiani
PPTX
Visualforce remoteobject
PPTX
Intota, Jane Burke - Charleston Conference 2012
PPTX
EIU Country Reports Archive Example Use Case Seoul Olympics
PDF
Undergraduate and Graduate Student Use of Social Media Infographic
PDF
The Top 9 Leadership Behaviors That Drive Employee Commitment
PPTX
Ногдол ашгийн бодлого
PPT
Salesforce and sap integration
Tor Bridges Tutorial in Chinese
Improving Listening Skills in Multi-Level Classes With Streaming Video - Powe...
Salesforce Summer'13 - Chennai DUG
Chennai salesforce platform developer meetup october–
Tutorial on how to use Tor Browser in Chinese
Chennai salesforce platform user group
Chinese freegate
How Extraordinary Leaders Double Profits
How Extraordinary Leaders Double Profits
ProQuest's Library Futures Forum 2014 - Gary Price
Introduzione evento pro quest collabora con i bibliotecari italiani
Visualforce remoteobject
Intota, Jane Burke - Charleston Conference 2012
EIU Country Reports Archive Example Use Case Seoul Olympics
Undergraduate and Graduate Student Use of Social Media Infographic
The Top 9 Leadership Behaviors That Drive Employee Commitment
Ногдол ашгийн бодлого
Salesforce and sap integration
Ad

Similar to The roadtrip that led to my first rails commit and how you could make yours too (20)

PPT
Open Source Saturday - How can I contribute to Ruby on Rails?
PDF
Contribute to rails
PPT
First app
PDF
Basic Rails Training
PPT
Rails Rookies Bootcamp - Blogger
PPTX
2018 the conf put git to work - increase the quality of your rails project...
PDF
git and github
PDF
Ruby, Rails, and the Open Source Community
PPTX
Basics of Open Source Contribution - WWCodeMobile
PPTX
Git hooks
ODP
App funnel project status silver boot camp
PPTX
2018 RubyHACK: put git to work - increase the quality of your rails project...
PDF
Contributing to github is for everyone
PPT
PDF
Building Tools with GitHub Customize Your Workflow 1st Edition Chris Dawson
PDF
Take the next step with git
PPTX
Intro. to Git and Github
PPTX
First Pull Request - Sergio Ocon - ManageIQ Design Summit 2016
PDF
Ruby on Rails CMS - on the cloud
PDF
Github fundamentals to work with legendary projects
Open Source Saturday - How can I contribute to Ruby on Rails?
Contribute to rails
First app
Basic Rails Training
Rails Rookies Bootcamp - Blogger
2018 the conf put git to work - increase the quality of your rails project...
git and github
Ruby, Rails, and the Open Source Community
Basics of Open Source Contribution - WWCodeMobile
Git hooks
App funnel project status silver boot camp
2018 RubyHACK: put git to work - increase the quality of your rails project...
Contributing to github is for everyone
Building Tools with GitHub Customize Your Workflow 1st Edition Chris Dawson
Take the next step with git
Intro. to Git and Github
First Pull Request - Sergio Ocon - ManageIQ Design Summit 2016
Ruby on Rails CMS - on the cloud
Github fundamentals to work with legendary projects
Ad

Recently uploaded (20)

PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Modernizing your data center with Dell and AMD
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Big Data Technologies - Introduction.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
Empathic Computing: Creating Shared Understanding
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Approach and Philosophy of On baking technology
PDF
KodekX | Application Modernization Development
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
PPT
Teaching material agriculture food technology
PDF
cuic standard and advanced reporting.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Advanced Soft Computing BINUS July 2025.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Modernizing your data center with Dell and AMD
GamePlan Trading System Review: Professional Trader's Honest Take
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Big Data Technologies - Introduction.pptx
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Empathic Computing: Creating Shared Understanding
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Advanced methodologies resolving dimensionality complications for autism neur...
Approach and Philosophy of On baking technology
KodekX | Application Modernization Development
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
breach-and-attack-simulation-cybersecurity-india-chennai-defenderrabbit-2025....
Teaching material agriculture food technology
cuic standard and advanced reporting.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Mobile App Security Testing_ A Comprehensive Guide.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Advanced Soft Computing BINUS July 2025.pdf

The roadtrip that led to my first rails commit and how you could make yours too

  • 1. The roadtrip that led to my first Rails commit and how you could make yours too..
  • 2. The requirement 1. A custom rake task with command line arguments passed to it 2. Run the rake task for specific environments 3. Do this in Rails 4.1.x
  • 3. The search ● Blogs, Stackoverflow ○ Found a blog closest to my requirement ● Rails Guides ○ Checked what they said about custom rake tasks
  • 4. The commit The actual code that used the changes
  • 5. The process 1. Forking Rails for the first time? a. Fork the Rails repo from this link 2. Already forked Rails repo but not updated it? a. Do a fetch, checkout master branch b. Rebase local master with remote master c. You can find the exact git commands here 3. Follow up steps applicable to step 1 and 2 mentioned above a. Create a meaningful branch name b. Make your changes c. Use a meaningful commit message d. Create a Pull Request(PR) e. Add a summary of changes to explain your PR
  • 6. An example of using meaningful commit details
  • 7. The experience ● Rails core team members ○ very friendly ○ approachable ● Commit was merged in almost no time ● Here’s the pull request if you’d like to see it ● I have blogged about the experience here
  • 8. How you could make your first Rails commit? ● Find missing gaps(I just did that and it helped) ● Refer pointers mentioned on the Rails guides ○ An example guideline that they’ve mentioned here -
  • 9. How you could make your first commit?(contd.)
  • 10. ● Commit as a pair - yes that’s possible :) ● Simply see how others are contributing ● Read articles/videos from others experiences ○ How to land your first patch in Rails(Ben Orenstein) ○ RailsConf 2014 - Get More Hands on Your Ke (Manik Juneja) ○ How I submitted my 1st patch to Rails (Nithin Bekal) How you could make your first commit?(contd.)
  • 11. Takeaways 1. Start small but get started 2. You get confidence to contribute more 3. You feel more connected with the community 4. Leap of faith - Can one be more?
  • 12. Thank you Photo credits ● Open Source Rails - David Anderton(@dwanderton)
  • 13. Twitter - @mohnishgj Github - boddhisattva Blog - boddhisattvadedicates.blogspot.com Mohnish G Jadwani