Learn Ruby for Free
Ruby was designed to be pleasant to read and write, and Ruby on Rails turned it into one of the fastest ways to ship a real web app. GitHub, Shopify, and Basecamp all run on Rails, and Basecamp's team created the framework. This path is for people who want a batteries-included full-stack setup: Rails hands you the database layer, routing, and templating in one box instead of wiring a dozen libraries together yourself. Be honest about the goal first, though. Ruby and Rails hiring has shrunk next to JavaScript and Python, so this fits people targeting Rails-shop jobs specifically, or solo founders and indie hackers who value shipping speed over the widest job market. Plan on 4 to 8 months part-time to get through both courses.
Yes, you can learn Ruby and Ruby on Rails entirely for free, and The Odin Project is the best route: one course for the language, one for the framework, both project-based and genuinely good. Ruby reads almost like English, and Rails bundles the database, routing, and templating you'd otherwise assemble by hand, which is why solo founders and small teams reach a working app fast. GitHub, Shopify, and Basecamp all run on Rails. One honest caveat: Ruby and Rails hiring is smaller than JavaScript or Python, so pick this if you're aiming at Rails shops or want to ship your own product quickly, not if you want the widest possible job market. Plan on 4 to 8 months part-time across both courses.
Ruby on Rails was used by 4.7% of respondents in the 2024 Stack Overflow Developer Survey, and 56.4% of the developers who work with it want to keep using it (source: Stack Overflow Developer Survey 2024, https://survey.stackoverflow.co/2024/technology/).
Your Step-by-Step Path
Step 1: Ruby Fundamentals
The Odin Project's Ruby course starts from zero and teaches the syntax that makes Ruby feel friendly: readable method names, everything-is-an-object, and clean control flow. Start here because Rails is Ruby, and every shortcut the framework gives you later is built on language features you meet in this first pass. Focus this step on variables, methods, classes, and object-oriented basics before the harder material.
Ruby Programming (The Odin Project)
80h ยท Free
Step 2: Ruby in Depth (blocks, procs, testing)
Same course, second half: blocks, procs, lambdas, and writing tests. Ruby leans on blocks constantly (each, map, and Rails' own DSLs are all blocks under the hood), so this is where the language stops feeling like Python with different words and starts feeling like Ruby. Learning to test now matters because Rails culture is test-heavy, and picking up the habit before the framework saves you retrofitting it later.
Ruby Programming (The Odin Project)
80h ยท Free
Step 3: Rails Fundamentals
Now the framework. The Odin Project's Full Stack Ruby on Rails path teaches Rails' conventions: routing, controllers, views, and Active Record, the layer that maps your database tables to Ruby objects. Do this only after the Ruby course, because Rails' so-called magic is just Ruby you already understand, and skipping the language leaves you copying code you can't debug. Expect this to be the longest stretch of the path.
Full Stack Ruby on Rails Path
200h ยท Free
Step 4: Auth, Deployment & Full Apps
The back half of the Rails course is where you build things people could actually use: authentication (sign-up, login, sessions), file handling, background jobs, and deploying to a live server. This is the step that turns a tutorial follower into someone who can ship a Rails app end to end. A deployed project is the single most useful thing to show a Rails employer or a potential co-founder.
Full Stack Ruby on Rails Path
200h ยท Free
Step 5: Add SQL for Real Rails Work
Rails hides SQL behind Active Record, which is great until a query is slow and you have no idea why. Harvard's CS50 SQL teaches how databases actually work: indexes, joins, and query planning, so you can read the SQL Rails generates and fix the N+1 queries that bog down real apps. SQL is its own wired path here too (/learn/sql) if you want to go further.
CS50's Introduction to Databases with SQL
30h ยท Free
More Courses to Explore
The Odin Project's Ruby course. Covers Ruby syntax, OOP, blocks, procs, lambdas, file I/O, and testing. Hands-on projects throughout. Foundation for the Ruby on Rails path.
The Odin Project's complete Ruby on Rails curriculum. Covers Rails, Active Record, authentication, deployment, and building full-stack applications. Project-based throughout. The free alternative to paid Rails bootcamps.
Frequently Asked Questions
Should I learn Ruby or Ruby on Rails first?
Ruby first, then Rails. Rails is a Ruby framework, and its famous productivity comes from Ruby language features like blocks, metaprogramming, and clean object-oriented design. Spend a month or two on the language, then the framework feels like a set of shortcuts instead of magic you can't explain.
Is Ruby on Rails still worth learning in 2026?
For the right goal, yes. Rails hiring is smaller than it was around 2015, and JavaScript and Python have bigger job markets, so it's not the safest pick if raw employability is your only concern. But Rails is still one of the fastest ways to ship a full web app, GitHub and Shopify run huge Rails codebases, and Rails-focused shops and startups still hire. Learn it if you want that speed or are targeting those companies.
How long does it take to learn Ruby and Rails?
Plan on 4 to 8 months part-time to work through both Odin Project courses, roughly 280 hours of material combined. If you already know another language, the Ruby half goes faster, and most of your time will go into the Rails course and the projects it has you build.
Is Ruby a good first programming language?
It's a good one. Ruby's syntax is clean and readable, and The Odin Project's Ruby course assumes no prior experience. The main reason people pick Python instead as a first language is the larger job market and the data and AI ecosystem. If you specifically want to build web apps with Rails, starting with Ruby is fine.
Do I need to know SQL for Rails?
Not to start, because Active Record lets you work with the database in Ruby. But you'll hit a wall the first time a page is slow and you need to understand the SQL Rails is generating. Step 5 of this path covers exactly that, and /learn/sql goes deeper if you want it.