Yellow marks are automatic key passages. They aren’t personal saved highlights. Select a timestamp to follow along with the video.
Ruby on Rails grew out of a collaboration between David Heinemeier Hansson and Jason Fried's design firm 37signals, which began in 2001 when a Danish self-taught PHP builder answered Fried's programming question on a blog. Rails was extracted from Basecamp between 2003 and 2004 because Ruby offered PHP's immediacy together with a coherent object-oriented design, and it was released as open source under the MIT license with a fiercely protected vision, a first core team of early committers, and an aggressive marketing style that drew both love and hostility. Early contributors recall the framework as a transformative "ten-times" environment: one developer built the Snowdevil store that became Shopify, Capistrano was created to deploy Basecamp, and the releases 1.2, 2.0, 2.3 and 3.0 (merged with Merb) matured it while Shopify, GitHub and Basecamp answered the "Rails can't scale" critics. In the contributors' view, Rails is inseparable from David's conviction and leadership, and its lasting value lies in its gentle learning slope, which opened programming to people from all walks of life.
An Early Web Book Project and a Call for Help
In 1999 or 2000, the builder ran a web design company called 37signals with two partners, handling client web design work. On the side, they were building Single File, an online book database, using PHP. They had taught themselves PHP from a book, despite having no formal programming background. The project got fairly far before they got stuck, so they posted a general call for help online. At that time, there was no Stack Overflow or similar resource for answers, so the post went largely unanswered until a man wrote from Denmark.
Following Signal vs. Noise and Helping Out
At the time, the builder was living in Copenhagen, Denmark, and working in the web industry. They were a devoted reader of Signal vs. Noise, the company’s blog, from its very beginning. The company was unusual because it was a design firm that focused more on writing than on the polished visuals usually associated with design. After following it for a couple of years, the builder saw that Jason Fried, one of the original co-founders and a business partner to this day, had posted a programming question on the blog in 2001. The builder knew the answer and wrote a detailed explanation of how to do what he wanted in PHP. The answer was not from an expert programmer, but it was the best answer the builder could give. The builder wanted to repay the company for the reading and learning they had provided over the previous two years.
From Online Help to a Working Partnership
The response from Jason Fried was thorough and warm, and it conveyed a real desire to help rather than a simple reply. The two began a back-and-forth conversation that deepened over time. Eventually, Jason asked to see the entire project, and the builder shared the code. His reaction was blunt: the code was poor, and they should start over, with him doing the work. That was how the relationship with David began. In this account, David said the work was bad, and the builder agreed to try something better. The partnership was strong from the start.
Early Experiences Learning to Program
The builder got a first computer at age six, in 1985. It was an Amstrad 464, and it introduced programming through typing video games from the back of magazines. Few of those games worked, but this was the beginning. Around ages 10 to 12, the builder tried again with Easy AMOS, a programming environment that was not easy in practice. Basic concepts like variables, loops, and conditionals proved hard, so the attempt was abandoned. After discovering the internet in 1995 and getting involved with HTML, the builder saw another chance to create things. In 1999, at age 20, the builder began working on a gaming website in PHP with another programmer. This was the first time programming concepts truly clicked. It was the third attempt at learning to program, but this time it stuck. That preparation came just before the builder sent that email to Jason a year later.
Meeting David in Person in Chicago
The builder and David had worked together for a long time before they met in person, communicating only over Skype. Their first meeting took place in Chicago, outside the John Hancock Building, a well-known landmark on a large plaza. They had arranged to meet in the morning. The builder waited while scanning the crowd for David, and when a man approached who was dressed entirely in white, with a thin frame, a white T-shirt, short sleeves, white capri pants, and white shoes, the builder recognized him immediately as David. The builder recalls possibly seeing rollerblades as well, though this is uncertain. Either way, it was obviously him.
Client Work and Paying David in Hardware
After working on the book project, the partners took on another client project, and then several more, since they operated as a web design firm doing web work. As their workload grew, they needed a better way to manage projects, so they decided to build a project management tool for themselves. David was still a business school student in Copenhagen, so he could not commit full time and was not yet an employee. The builder hired him to build the back end of what would become Basecamp. David did not ask for money. He asked for laptops and computer equipment, since modern Apple hardware was hard to obtain in Denmark. Whenever he traveled to the US, the builder gave him a laptop or whatever equipment he needed. The builder acknowledges this may have been questionable, but that was David’s payment. He contributed about 10 hours a week, which was all the time he had.
Why Basecamp Started in 2003
The team decided to start Basecamp in 2003. Their consulting projects had been organized largely over email, which is a frustration many people share when trying to coordinate projects that way. The team thought they knew how to build web applications, so they asked whether they could build an application that would make project coordination easier. The goal was to avoid endless email threads, confusion over the latest version of a file, and uncertainty about what remained before launch. The builder had discovered Ruby earlier that year through the writing of Martin Fowler and Dave Thomas, who used Ruby to illustrate programming concepts in magazines. The builder had worked with the web for years and had never heard of Ruby, which made it intriguing. It also came from Japan, which added to its appeal. The code looked like pseudo code, the kind of simplified English that programmers use when explaining concepts. Fowler and Thomas clearly admired the language and said they would write systems in it if they were allowed to. The builder saw that this was a project where they could choose their own tools, and they chose Ruby.
Choosing Ruby for Basecamp
Early in Basecamp’s development, the builder had no say in the back end. When David said he would use a language called Ruby to build Basecamp, the builder’s immediate reaction was a sharp question about what Ruby was, since they had never heard of it and had been working in PHP. David explained that it came out of Japan. The builder truly did not mind. The back end was David’s part of the project, so choosing the tool was not the builder’s decision to make, and the builder trusted him.
Finding a Language That Fit
By 2003, the builder had become proficient enough in programming to develop a sense of what they liked, but had not yet found a way to express that taste. Ruby was the language that clicked. What stood out was the combination of PHP’s immediacy, where Hello World could appear on the web with minimal fuss, and a sophisticated, well-thought-out, coherent object-oriented language. The builder had found appeal in Java for its intellectual rigor, including software patterns and other concerns of serious systems engineers. Ruby seemed to bring both qualities together, or at least had the potential to. That was the opportunity the builder saw.
Building Rails Out of Necessity
The effort began modestly. The builder set a two-week window to determine whether they could build the basics of a web application: whether HTML could be rendered from Ruby onto the screen and whether the application could talk to a database. At the time, Ruby had few libraries and frameworks, and very little help for database access or web development in general. Rails emerged because the builder had to build the tools needed to use Ruby for the new system. This was not because they had already explored many options in Ruby. They had looked at PHP and Java and had a clear idea of what they wanted. Ruby was the language that gave those ideas wings, allowing code that was not only functional but beautiful.
Extracting Rails During Basecamp’s Development
Over the following six to seven months, the team built Basecamp, and during that process they extracted Rails from it. Rails was not the product of a grand upfront design intended for release to the masses. There was not even an intention to release it at first. The team simply needed these pieces, so they built them. The period between summer 2003 and Basecamp’s release in February 2004 was the main gestation period for the framework. Rails was not released until later in 2004. From the start, the builder envisioned Rails as something that could be special, so the first version needed to be good not just in code but in documentation as well. The team spent roughly six months after Basecamp’s release polishing the code and documentation before releasing it. The place where the builder lived while starting Rails is located right behind them.
Rails Growth and Protecting Its Vision
When Rails took off, it became a wild experience, and the builder felt mixed about it. On one hand, it was great to see something they had created generate so much excitement. On the other hand, they were highly protective of the integrity of the vision behind Rails. As more people became interested, some wanted to pull Rails in different directions. In this account, it is easy to lose control in that situation. A creator can become so pleased with others’ contributions that they accept everything and then struggle to say no. Saying no, however, risks conflict. The builder said no to many things, including certain directions they did not want Rails to take.
Saying No and the Infamous Slide
At an early Rails conference in Canada, the builder showed a slide with the words “F()c% You,” which became infamous. It expressed frustration at times when someone brought what the builder considered an unreasonable demand for something to be added to Rails.
Refusing Demands to Protect Rails
Some requests came with an ultimatum attached: "Unless you put this thing into Rails, you will fail." My answer was F()c% you! Nobody gets to tell me what to do. I work on Rails because I want to, I solve my own problems, and I protect the integrity of the framework. I am not here to be anyone's servant, and I am not letting anyone buy anything from me. This is one of the main reasons I love open source so much. It is not a commercial relationship, so no one gets to tell me what direction Rails has to take. I make those decisions on my own, thank you very much. I take input, absolutely, and I take feedback. Rails is what it is today because thousands of people contributed great work, and I had no hesitation saying yes to that work.
Discovering Ruby
I arrived in the Ruby community because I thought Ruby was cool. I liked programming languages and would dabble in them, trying things out. When I tried Ruby, I really liked it. It stuck with me in a special way that kept drawing me back. It felt close to my heart, and at the time I did not try to analyze it too much. Over the years, I did web development in Java, PHP, Perl, and other languages, but I kept coming back to that small pull: why isn't Ruby here? Why hasn't Ruby shown up?
A Provocative Announcement on the Ruby Mailing List
Then someone announced on the Ruby talk mailing list, "I've got a plan." It was like asking, are you coming down from Mount Sinai with your tablets? Who gave you these commandments? We haven't seen this approach to developing for Ruby, or for the web, before. It was a provocation with some spice to it. I wondered, "Is this guy an $%/&!* or is there something to it?" The answer was a little bit of both. He showed a well-carried arrogance about having the right ideas, and he was willing to lay those ideas out for everybody to see. They were good ideas. Some were old ideas reconfigured, but they were never pitched as anything else. The Active Record pattern says it right on the tin: it took an idea from a pattern to a framework. That added a jolt of energy to a Ruby community that was very generous and very kind, and it gave the community a new sense of aliveness. What's going on here? How do we channel this energy? What are we going to do with this person? Reactions ranged from tolerating him to embracing him and seeing what he brought.
First Encounter with Rails at the 2004 Ruby Conference
I first heard about Ruby on Rails at the 2004 International Ruby Conference. At the time I was working for Brigham Young University and not using Ruby, but I received permission to attend because I was very excited about the Ruby programming language. I was doing a lot with Ruby on the side, even sneaking it into the system, so to speak. I went to present something I had been working on in my spare time. It was not a big conference, with maybe 30 or 40 people in total. I remember sitting there while one of the presenters, David Heinemeier Hansson, whom I had never heard of before, talked about Ruby on Rails. It was brand new and had just barely been released. He explained why he wrote Rails. He was pushing for a better experience for programmers. I remember him standing up there holding an imaginary piccolo to his lips, talking about how, like the Pied Piper of Hamelin, he was going to lead programmers to a better experience and a better way of living.
Early Development and the First Core Team
For about the first year, no one but me made commits directly to the code. I took patches from people over email, and I think we even used a wiki at the time. This was well before GitHub existed and made everything so easy. I did not expand access to the codebase until almost a year in. At that point we instituted the Rails core team, which was basically a group of people who had sent me the most patches and the best work. Those people got access to the codebase, and among them was Jamis Buck. I remember being struck by how excited he was about the project. He was very passionate about it. He never showed a line of Ruby or Rails code during that whole presentation. It was all about why he wrote it and what he hoped to accomplish. I think this disappointed some people, especially those who had heard about Rails or played with its very early releases. Some were hoping for a more technical presentation, but his talk was all about charisma. His excitement and passion were contagious, and it was easy to see that he believed this was going to change the world. That was almost 20 years ago.
Hiring Jamis Buck for Basecamp
Jamis ended up being the first programmer I ever hired at 37signals, as Basecamp was taking off. I remember reading Jamis's Ruby code and thinking, "Wow, this guy is really good!" He had such a methodical approach that I was eager to work with him on Basecamp. That's how we got started. Many of the early people at 37signals were hired out of the Rails core team or from other folks who had been contributing to Rails.
37signals Enters the Ruby World
The Rails pre-release announcement was exciting in part because it came from 37signals. I knew about 37signals, and the fact that they were dipping their toes into Ruby was interesting. I was curious: why were they showing up here? This was not just somebody sharing a favorite way to build web apps. It was a team doing something in the 37signals way. The mark 37signals had made on the design world was showing up in the Ruby world, of all places. It felt different and a little odd, in a neat, interesting, curious way. That gave Rails an instant reputation. Even if people didn't know what it was yet, the fact that it could power something like Basecamp spoke for itself. The reaction from Ruby enthusiasts was very warm and loving, since they saw something interesting happening in Ruby. The reaction from the rest of the world was more mixed. Part of that was because, when I went into full marketing mode for Rails, I was a little brash. I knew that creating awareness for a programming language as unknown as Ruby couldn't be a whisper. It had to be a shout, so I went out shouting. I made a number of controversial comparisons between Java implementations of certain problems and Rails implementations of the same problems. At the time these were characterized as poking Java developers in the eyes. Some pushback was completely expected, which is why the one-two punch was so helpful. There was a real application with real success, growth, and paying customers in Basecamp, and the code spoke for itself. Things like the 15-minute blog video and other writeups contrasted what it takes to solve a problem in Ruby on Rails with what it takes to solve the same problem in something else.
The Rails Command Walkthrough and a Move to Canada
The demonstration begins with the Rails command, though the on-screen text is hard to read. In 2002, I moved from Germany to Canada. I tried to work for local companies right after, but I couldn't because I didn't have a work permit, and I had to work through these kinds of things. So I found myself with time. My now-wonderful wife suggested, "You know, you've been talking about starting a company, and this seems like an awfully good time to do it." I didn't feel that spark anymore. I decided I needed to reclaim programming as a passion hobby again.
Looking for a Way to Earn While Programming for Fun
What I was looking for was an opportunity: "I'm going to build something that would allow me to make money while I go snowboarding and while I go program for fun." That was my plan. I have been extraordinarily unsuccessful at that plan, because of how things turned out. I knew a lot about snowboarding from all the time I spent on it, so I decided to build an online store. It seemed like the right thing to do, since I couldn't find a good online store. It turned out there wasn't good software to use. I tried different packages, and they were all horrible. So I sat down and asked myself, "Okay, if I can use anything, since I don't have a boss anymore, what can I use? Any technology, no matter what it is, just needs to respond to web requests." I remember thinking, "Man, I would just love to use Ruby!" It was just a moment. The best way I can explain it is that I realized my brain had been running on Ruby since I first started programming.
Building Snowdevil Alone with Rails
Shortly after, I got very lucky. I was paying attention when David first started talking about doing the thing I wasn't brave enough to do, which was building everything from scratch that's needed. This may well have been me sending a private message and him sending a zip file back. The details are a little hazy now, but he gave me access very early. I tried it and fell in love with it. I built Snowdevil, which took two or three months. I was certainly the only engineering team on planet Earth doing this alone at the time. Everyone else building online stores had a team of 100 people, yet I was more productive. It's hard for people to understand this these days, but that is the difference in effectiveness that Rails made possible: building systems alone. It became a very natural step, based on what I was seeing, to take Snowdevil and turn it into Shopify afterwards. It seemed like the right thing to do, and you can clearly see the influences in it. I loved working on Rails, the tool, and the technology. Being inspired by the tools you use to reach higher than you thought you could, or than you were allowed to, or than what would be possible, is rare, possible, and underexplored. At the end of the day, that is literally what Shopify is attempting to do.
Growing the Rails Committer Group
I don't remember us calling it a core team right away, but it became one from the beginnings of Jeremy, me, and David committing to the repository. It wasn't long before there were more committers, including Marcel Molina, Scott Barron, Sam Stephenson, Michael Koziarski, and some of the other early Rails committers. It really was a wonderful thing. I had never been part of a team like that. There was something about all of us sharing the same vision and working at such an early stage on something that felt like it was going to change the world. It was exciting. Being part of the core team meant you had David's trust to build something to the quality bar he owned. We had an IRC channel specifically for that, where the real conversations happened about what Rails was, what Rails would become, and what the next features would be. That has been going on for the last 20 years, and it's still active. We have much better tools these days with GitHub, which is another thing that grew out of Rails. But when we started Rails, there was no GitHub. The idea of having multiple people work on a codebase was a much higher trust affair back in those days.
A Formative Ten-Times Environment
The early years of Rails were a ten-times environment, and David created it. Many people who worked through those years came out as fundamentally different programmers. Rails pushed me to recognize my own potential and to aim higher, because much of a person's limitation is learned rather than inherent. It also gave me the shape of my life by making it possible for me to become an entrepreneur.
Open Source as the Default
Releasing Rails as open source was never in question. Everything I had built on the web had relied on open source tools, and those tools were the foundation that made my work possible. So when I finally had a toolbox of my own to share, I did not hesitate. Open source was the only reasonable choice.
The Debate Over Sharing Rails
One of the most fascinating conversations I have been part of involved David, Jeremy, and several others. People were building important companies with small teams and fewer tools, and they were clearly more effective than larger teams. The group asked whether Rails should be sold rather than shared, or whether it should be kept private as a comparative advantage. David rejected these options. He argued that open source was important, specifically under the MIT license, and that Rails would become extraordinarily successful.
David's Conviction
I pushed back, arguing that success cannot simply be decided. It is an outcome that requires luck and many other components. David replied, “No, we can decide this.” He was about 24 when this discussion took place, and that still seems remarkable to me. Now in my forties, I rarely meet people with that kind of conviction and an out-of-the-box understanding of market dynamics, attention, drama, and business development. I accidentally earned a business education in those years, simply by watching these dynamics play out while trying to get my own work done. It is genuinely remarkable.
Deploying Basecamp and Capistrano
When I was first hired by 37signals, one of my first tasks was to create a way to deploy Basecamp. At the time, Basecamp ran on a single machine, with the database and web server both on one server. That setup looks laughable now, but the company grew quickly, and it soon needed two machines. I had to figure out how to deploy Basecamp across more than one server. This became my project. Jason and David told me I could take ownership of the product, even though I had written it for them, and that I could do whatever I needed with it. It was deeply fulfilling to work on this product. I called the tool Capistrano, and the name stuck. Rails 1.0 was a major milestone, but it was only the starting point of what makes a 1.0 release. Several key moments afterward kept the sense of momentum alive.
Rails 1.2 and 2.0
Rails 1.2 was a watershed for me, and I still love that release. It was a stable early version, and it gave us the first glimpses of what a mature web framework could feel like. I still feel excited thinking about the audacity of changing how we developed software and having everyone come along for the ride, which everyone wanted to do. That same year, in December 2007, we released Rails 2.0. It introduced cookie-based sessions and features like named scopes. It changed how we saw our products and applications maturing.
Answering the Scalability Critics
Critics of Rails often chanted that “Rails can’t scale.” We could point to Basecamp and say that it was non-trivial. It was not handling a million requests a day, but it was serving people’s needs and providing real value. Wasn’t that the important thing? Even though critics dismissed these accomplishments, they were accomplishments nonetheless. We never reached a point where we concluded that Rails could not scale beyond a certain number. We kept scaling. The phrase “But will it scale?!” became a bit of a meme, but it was a serious question people asked in Rails’ early days. In reality, that question had less to do with technology and more to do with FUD: fear, uncertainty, and doubt. People who wanted to put Rails down often raised scalability because it was an easy objection before Rails had major applications like Shopify, GitHub, or Basecamp at their current scale. Rails was essentially scalable from day one. Some people took this seriously enough to rewrite their systems, and in some cases they documented those rewrites well.
Performance and Shopify
Making things fast is pretty fun. If you used to write algorithms and data structures, you know that computers are very fast. Shopify, in my experience, handles a significant share of internet traffic, roughly 10% of global e-commerce. It is a very large codebase, and its folder structure matches any Rails application you could generate on your laptop today. It runs on the latest version of Rails, and most of its lines of code are in Ruby. Shopify is not religious about Ruby. It uses the best tool for the job, and Ruby is the best tool for many of the problems that thousands of engineers there solve. Shopify is pretty fast, and building at that scale is entirely doable. I do not know which scale people think Rails cannot handle. Shopify has unique complexities that most companies never face.
Scale Versus Foresight
Performance at scale is not the hardest problem. The harder challenge is finding foundational ideas that scale for twenty years and still feel good to work with. That requires foresight, and a do-over is very hard to get. Security was trickier, because we had to take explicit steps to prevent common attack vectors. We made a concerted effort to ensure that developers could rely on Rails to handle security well.
Rails 2.3 and a Full Toolbox
The next big release for me was Rails 2.3 in March 2009. It was a longer and deeper release, and it felt like Rails had truly arrived. The framework had everything a modern web developer needed, whether building small apps, large apps, or anything in between. At that time, jQuery was emerging, and we were determined to make room for it. Energy was building in the JavaScript world, and Rails wanted to meet it where it was heading. After 2.3, we had everything we needed. The toolbox was full, and we were happy with how the tools behaved. There were no gaps between them, and we did not have too many tools. It felt like the sweet spot for web development. So the question became: where do we go from here?
Merging with Merb
A new Ruby web framework called Merb arrived on the scene. Rails 3.0 came from merging with it, which took considerable effort. Frameworks rarely merge and become better, so this was a singular story. Merb challenged Rails as a young upstart that was faster, lighter, slimmer, and did less, much like Rails itself had once been. It lit a fire under Rails developers, who wanted those qualities too. Rails had those strengths to offer, but Merb showed us another path forward. Yehuda and Carl from the Merb core team showed the way. We put significant effort into re-engineering Rails internals to be configurable, recomposable, and modular, so that a framework like Merb could be built from it. The Rails and Merb teams talked and decided to merge.
Why Rails Divides Opinion
This Ruby approach is not better for everyone, and it is not better for most people. For some people, however, it is a hundred times better, not just a bit better. This is why Rails produces such a split of love and hate, with very little indifference. Most technologies in the world are loved by a small group of people who face the particular problems they solve, while most people feel indifferent because the technology is not relevant to them. Rails provokes strong opinions because it comes from a different place. I think that is precious and exciting. Being part of it has honestly been an honor, even if the word sounds strange to use about an IRC channel I was invited to. It was the most special experience. My life would have gone differently if some of the dots I can now connect in hindsight had landed elsewhere, so I am deeply thankful. I am especially grateful for the community we built and the friendships we shared. We had always been a team, and it felt natural and exciting. I had never experienced anything like that before, and it was more fulfilling than anything had been.
Growing a Community Respectfully
Seeing the Rails community grow has been meaningful. Everyone’s experience of it is their own and individual. Each person has the chance to be where I once was. I can help create an environment that supports and respects them, but that is all I can do. I have a deep appreciation for others sharing that experience with me, and whatever small part I played has been the experience of a lifetime. Things like Rails, Basecamp, and 37signals cannot be planned. They do not happen because you set up a business plan in advance. They unfold, and like anything that unfolds, they need time. Time proves these things out to some degree. The website currently says that Rails really does let you go from Hello World to IPO with a tiny team. A single developer can make a huge amount of progress in a minuscule amount of time. The community, the framework, and the codebase have never been in better quality than they are today. I have enormous respect for what David has built and for his approach to leadership. Love it or hate it, do not deny its effectiveness, and, this is important, never think that Rails is what
Rails and David Are Inseparable
Rails is not successful despite what David does. It is as successful and as good as it is because of everything David has done. These things cannot be separated. There is no Rails without David.
A Framework for People from All Walks of Life
Ruby on Rails has drawn people who were never trained as computer scientists or programmers. They came from all walks of life and simply became interested in building web applications. They were able to learn it with Ruby on Rails because it was easy and did not require extensive background training to get started.
From the outset, Rails has focused on making it simple to get started, because if people cannot get started, they cannot keep going. That initial barrier is very tall for many people. Personal experience makes the point clear: the author failed several times to learn programming and hit that same wall. Rails is designed with a gentle slope. You start down low, with something very simple that requires learning very little. From there, you can climb all the way to becoming the top programmer in your company or industry, even without formal credentials.
Diversity of People in Programming
The author especially values that part of Ruby on Rails. The diversity of people who have built careers in programming because of this framework is something the author loves about the community the framework has created.
Turn your watchlist into a reading routine
Bring your YouTube videos together, read summaries with key passages marked, and explore the full transcript. Save your own highlights with Pro.
Start with 5 free batteries. Each covers up to 30 minutes of a new summary.
New summaries depend on video availability and demand; processing may take time or require retry.