Do you want to learn Ruby on Rails but don’t know where to start? Or have some experience and would like to deepen your knowledge? Then read on.
This is a guide to websites, tutorials, blogs and other media that I’ve tried and tested to take you from beginner all the way to a Ruby on Rails codebase contributor.
- Why learn Ruby on Rails?
- I’m a beginner, where do I start?
- Ruby on Rails in more depth
- The Ruby on Rails codebase
Why learn Ruby on Rails?
Ruby on Rails is a mature web application framework that can allow you to create internet-based apps and APIs quickly. It has a large, friendly community behind it happy to share knowledge of how to use it.
It has opinionated principles for its design that aim to embed some software design best practices into how to write and structure your code. Plus, it partners well with other Ruby frameworks, such as RSpec for testing, and RuboCop for linting according to its Ruby Style Guide.
Whichever level of programmer you are, I recommend a mix of reading and following tutorials and applying skills in practical projects.
I’m a beginner, where do I start?
- How to learn Ruby: recommended resources for beginners - If you’re completely new to Ruby, I’ve put together a list of suggestions covering online tutorials, websites, and books.
- Rails Guides - The official guides created by Ruby on Rails contributors. A good starting point on this site for beginners is Getting Started with Rails. It also has tutorials on learning the foundations of Models, Views, and Controllers - including routing.
- Code School: Rails for Zombies - this is a fun tutorial with a Zombie theme. Topics include: Deep in the Crud, Controllers Must be Eaten, and Routing into Darkness. It has a free trial and there is also a paid plan.
Ruby on Rails in more depth
- Rails Guides - Beyond the introductory pages it covers examples and descriptions of how to use its supporting libraries, such as ActiveRecord, ActiveSupport, debugging and securing your Rails applications.
- Upcase by ThoughtBot - These free tutorials are aimed at up-skilling Ruby on Rails developers. The courses include small projects where you clone a repo and then amend the code, then run unit tests and ask for peer reviews of your work.
- ToughtBot Blog articles on Ruby on Rails - These go into more depth on using Ruby on Rails.
The Ruby on Rails codebase
- This Week in Rails - A blog that you can also subscribe to via email to keep updated on the latest developments in the Ruby on Rails codebase.
- Ruby on Rails on GitHub - The Ruby on Rails community welcomes contributors to its documentation and codebase. This can be a great way to learn the framework in-depth while collaborating with experienced Ruby on Rails developers.
- The Rails Guide to Contributing to Ruby on Rails gives you detailed advice on how to go about this.