Talks

Keynote: Startups on Rails in 2024

Keynote: Startups on Rails in 2024

by Irina Nazarova

In her keynote at RailsConf 2024, Irina Nazarova discusses the resurgence of interest in the Ruby on Rails (Rails) framework among startups in recent years. Despite previous skepticism surrounding Rails, she emphasizes its continued relevance and value for new companies.

Key Points Discussed:

- Importance of Startup Stories: Irina highlights the absence of current startup success stories in the Rails community, focusing on companies that have adopted Rails today.

- Case Studies:

- CraftWork: Founded to solve the challenges in house painting, they opted for Rails due to its simplicity and productivity. They experienced rapid success, gaining acceptance into Y Combinator and raising $6 million shortly after.

- JZ Marketplace: This company, formed by young founders passionate about sneakers, transitioned to Rails after recognizing its potential. They achieved significant sales and secured $18 million in funding.

- Flexcar: Initially using Java microservices, they revealed the complexity of managing multiple services. They began migrating to Rails, finding it enhanced their productivity and development speed.

- Feedback from Founders: Nazarova shares insights from CTOs about their experiences and needs within the Rails ecosystem.

- Key requests include improved community support, documentation for new features (like Hotwire), and better integration possibilities with modern technologies, such as React.

- Community Call to Action: She encourages attendees to contribute to the Rails ecosystem, participate in community discussions, and share feedback with maintainers.

Conclusions:

- Rails remains a viable and productive framework for startups, allowing quick feature shipping and streamlined development.

- Active involvement in the community is essential for the framework's growth and for nurturing the next generation of developers.

- There is an urgent need to address the gaps in documentation and integrations within the community as startups continue to rely on Rails for their technological needs.

- The ecosystem is maturing, and now is the time to build both creatively and commercially using Rails while supporting the broader community.

00:00:11 The last thing I want to talk about is office hours. You can bring any project or any problems, and the consulting Rails experts at Evil Martians can help you out.
00:00:17 They don't look very busy. One second—there we go, fixed.
00:00:24 This is convenient, and almost like I planned this segue, because our next speaker is from Evil Martians.
00:00:31 I've done this before. We promoted this talk from the CFP, which is one of my favorite things to do, and I am sure that this talk will raise questions, provide answers, and energize us for all the work on day two tomorrow.
00:00:49 Ladies and gentlemen, I am excited to introduce Irina Nazarova!
00:01:03 What an absolutely mind-blowing and incredible honor it is to be here, giving a keynote at Rails.
00:01:09 I'm pumped, and it's a pleasure to be part of this keynote sandwich with Nadia. You're on the other side of the sandwich right now, and it's a joy for me to have this chance to take you all—my friends, my future friends—on a little journey.
00:01:20 Just last year, RailsConf in Atlanta was my very first RailsConf. I met some amazing people, participated in some cool events, and made many new Ruby friends, just like I'm sure you're doing today.
00:01:34 I received so much support and encouragement, and I wanted to be useful to this community as well. So, hi! My name is Irina, but you can call me AA.
00:01:46 I'm the CEO of Evil Martians, a consulting company, and a co-founder of Cable, a WebSocket infrastructure company. Oh, and I really like AI-generated images, as you will see.
00:02:00 I was thinking about something that seems to be missing: we often hear lots of stories about companies from the first wave of Rails popularity—Shopify, GitHub, Intercom, and many others.
00:02:10 We know about their success, but when we discuss the topic of whether Rails is dead, what we actually want to know is: Are there companies choosing Rails today? Are there new companies choosing Rails or switching to Rails?
00:02:22 This topic is missing in our conversations, and stories like Nadia’s are super important.
00:02:32 I believe that startup stories are generally missing from the conversation, and coincidentally, these are precisely the stories that Evil Martians are exposed to.
00:02:40 We work for startups. We collaborate with startup teams, building features and helping them grow their productivity and businesses.
00:02:48 We contribute to and witness their success and wanted to share something we already knew about startups on Rails.
00:02:55 Of course, I wanted to collect more stories, so I picked up the phone. I called some of our clients from Evil Martians.
00:03:06 Then, I added a few Cable clients, and soon, I reached out to companies and startups I had known about before.
00:03:15 I continued reaching out to more companies and startups. A few of those are existing products, but the majority are new businesses.
00:03:28 Finally, I spoke to a few companies that are so early-stage they don't have a logo or name yet.
00:03:39 Then something unexpected happened: this was supposed to be a yes-saying, simple talk about how there are startups choosing Rails today.
00:03:48 But during those conversations, I found the other side that made me highly motivated to build.
00:03:59 And this is how I want you to feel after this talk: I want you to feel that same urgency to build in this community.
00:04:06 So let's begin! We start in January 2023 in North Carolina.
00:04:13 Founders Mike, Suzanne, and Joey gathered together. They had built, scaled, and sold their businesses to some big companies.
00:04:23 They know the ropes. Now, they face a problem and want to solve it together.
00:04:32 The task at hand is simple: paint a house.
00:04:39 Tim and Suzanne want to paint their own houses. It sounds simple, right?
00:04:49 But they want to do it the same way they do everything else: using a mobile application or laptop.
00:04:56 However, they're not able to do this, and this is when they realize there's a huge market for these services.
00:05:03 And so, CraftWork is created. CraftWork hires people to paint houses.
00:05:10 Sounds simple, right? They paint both exterior and interior surfaces, including kitchen cabinets.
00:05:17 However, CraftWork’s purpose is to make this work as efficient as possible. Consider the scheduling, planning, invoicing, and communication.
00:05:29 Everything must take place on this platform, and geography also comes into play—houses need locations and people have to go to those locations.
00:05:39 Now, let me tell you a bit more about the CTO, Mike.
00:05:48 He had some experience with Rails back in his days at the University of Connecticut, during Rails 2.
00:06:00 So you can date him, but sorry about that, Mike.
00:06:07 After that, he worked at Microsoft, .NET, and had some experience with JavaScript.
00:06:16 He established several startups and even ran a coding school teaching Python.
00:06:22 Eventually, he went to work for Google.
00:06:29 Now, there's something interesting about him—he's a fellow podcaster.
00:06:38 He is one of the hosts of Software Engineering Daily.
00:06:45 This team had to decide on the tech stack for their product—what do you think they chose?
00:06:54 They ultimately opted for Rails.
00:07:00 And what do you think? Of course, it works!
00:07:07 This small team of founders could build this crazy application.
00:07:15 It's reminiscent of the story we heard this morning. It’s incredible how quickly you can ship features with Rails.
00:07:23 Mike shared a similar experience with Yto—a story of switching from Next.js to Rails after a few months.
00:07:36 Particularly, their CTO, Garant, mentioned the principle of convention over configuration.
00:07:41 This principle relieved him from the decision-making nightmare of constantly choosing tools and third-party services.
00:07:49 Here are a few more quotes from different founders: John from Healthy!
00:07:56 And Dorian from Bglad praised the Rails ecosystem, especially the gems.
00:08:03 What happens after that? Remember, they started in January 2023.
00:08:12 By April, they switched to Rails. In the summer, they got accepted into Y Combinator.
00:08:20 They successfully finished their program and raised a $6 million seed round in November.
00:08:28 Let's celebrate this success!
00:08:34 Now this sounds simple, right? They had some experience with Rails. You might say.
00:08:42 But let me tell you another story that begins a little earlier—back in 2021.
00:08:52 Can you guess the city? Yes, this is New York.
00:09:00 The pandemic was quite grim, but during this time three young founders started a company.
00:09:08 Meet Jack, Steven, and Cameron. They met online in Facebook groups when they were just 15.
00:09:16 Like many young people, they liked fancy sneakers.
00:09:24 But unlike many of their peers, they turned their passion into a hustle by building software called sneaker bots.
00:09:32 This software helps them resell those limited sneakers.
00:09:40 Now fast forward to their early twenties—they are recent college graduates with some experience.
00:09:48 Still, they are young and decided to build something bigger: a marketplace for all things digital.
00:09:55 From crypto to fitness courses to games to software, anything digital, kind of an influencer style.
00:10:03 This sounds similar to the story of Shopify, if you think about it.
00:10:10 But nowadays, many of us feel a bit jaded after the decline of the Rails hype cycle.
00:10:18 However, these three founders bring a new perspective, a fresh view of the world.
00:10:27 They choose Rails against the odds, and initially, they were skeptical.
00:10:37 They didn't have experience with Ruby, and neither did their friends.
00:10:44 Moreover, something I didn't expect: serverless is their new norm.
00:10:53 What we might call a serverful application is something they've never had experience with.
00:11:00 The good news is that things that worked on us also work on them.
00:11:06 Another new Ruby engineer, Kai, reported a similar 'wow' moment.
00:11:14 Both Jack and Kai had a 'wow' moment watching the same 15-minute Rails blog video.
00:11:22 What happened next? They got curious.
00:11:30 Jack later said, 'I obviously fell in love with Rails.' Nothing else could have happened.
00:11:39 So, they switched to Rails and built this JZ marketplace.
00:11:45 There's a familiar face here, and I don't know why. You should ask him about this later.
00:11:53 Marco, where are you? You should ask him!
00:12:02 Not only Jack but many others are pleased with ActiveRecord, which they consider Rails’ number one superpower.
00:12:09 The small team was able to deliver every feature their customers requested during the first two years of the product's life.
00:12:15 Can you imagine anyone else being able to say this outside of Rails? Quite frankly, I cannot.
00:12:23 So, they powered a sales volume of $322 million on the platform.
00:12:31 Furthermore, they raised $18 million in funding.
00:12:38 Now the only question remains: why are more startups not choosing Rails?
00:12:44 My final story for today also begins in 2021, right here in Boston.
00:12:50 There are two tech executives, Freedom and Ran, who start a project within their company called Flexcar.
00:12:56 Freedom is the CTO of Zipcar and starts this long-term car subscription company called Flexcar.
00:13:05 Flexcar soon splits from Zipcar.
00:13:12 Regarding car subscription companies, it's complex: it’s a two-sided marketplace.
00:13:20 It must be incredibly fast, scalable, and support a growing network of users.
00:13:26 What do you think they chose for their tech stack in 2021?
00:13:33 Their choice: Java microservices.
00:13:40 But not just a few; this quickly escalated to over 70 Java microservices.
00:13:48 The team followed every best practice for building software businesses.
00:13:57 However, the team soon realized they needed faster delivery and better productivity.
00:14:05 They were entangled in 70 microservices and over 30 databases.
00:14:14 Freedom, the CTO, stated, "We need a change."
00:14:22 Interestingly, Freedom is here with us today.
00:14:38 In January 2024, Flexcar begins its migration to Rails.
00:14:49 Just think about it: dozens of engineers, all experienced with Java.
00:14:55 Switching from 70 microservices to one monolith—and changing from Java to Ruby! That's not simple.
00:15:02 Yet skeptics quickly fall in love with Rails and the productivity of a monolithic Rails application.
00:15:10 It’s like a breath of fresh air.
00:15:17 Flexcar isn’t the only team that shared a similar story.
00:15:24 Sarah, the founder and CTO of Flow, switched from Java to Rails and felt she was working three times faster.
00:15:32 The success of Flexcar is happening as we speak, and they’re scheduled for their release to production later tonight!
00:15:51 I don’t know how you feel, but conducting those 25 conversations was incredibly emotional for me.
00:15:59 I felt inspired and empowered by everything I learned.
00:16:07 But I also felt a little anxiety and a sense of responsibility.
00:16:13 Why? Because all those startups—this is just a subset of hundreds and thousands of startups choosing Rails as we speak.
00:16:22 They’re not just relying on Rails; they’re relying on the entire Rails ecosystem.
00:16:33 They need solutions to all the problems they are facing.
00:16:41 And I realized that CTOs are exceptionally skilled at identifying community solutions.
00:16:50 It’s a rare skill to find solutions that might be less obvious.
00:16:56 Our conversations didn’t only touch on the good things but also what’s missing.
00:17:03 I already knew that startups exist, that they are choosing Rails in recent years.
00:17:12 But now I want to share with you what I discovered.
00:17:18 I'm not sharing all the feedback I've received, as it can be situational, personal, or random.
00:17:30 Instead, I will share the top five most requested things from the CTOs of growing companies.
00:17:38 Number five is a bit hard to guess, as it’s not technical.
00:17:46 But it relates to something we had back in 2012-2014 when Rails was the most popular web framework.
00:17:54 We had overwhelming support, with people discussing Rails and suggesting it.
00:18:03 However, people choosing Rails today don’t have that, and it's noticeable.
00:18:12 Daniel, a founder building in the San Francisco Bay area, expressed feelings of loneliness despite knowing dozens of companies working with Rails.
00:18:22 Now, Ruby conferences are a great resource and there are numerous conferences happening this year.
00:18:30 I feel there’s a turnaround happening in our community.
00:18:39 We should take this energy and not take it for granted.
00:18:47 In our current landscape, at least one conference may end up missing.
00:18:55 Let’s not only keep local meetups and conferences alive but expand them.
00:19:03 Even those who don’t attend still appreciate them.
00:19:10 Number four is technical, and you’re likely expecting me to mention something about AI.
00:19:18 Several people remarked we don’t need Python any longer; AI is being productized through APIs.
00:19:26 Ruby is perfect for leveraging those APIs to develop products using those APIs.
00:19:35 Yet, we are not doing enough in the community regarding AI.
00:19:43 There are many incredible developments and several SDKs to utilize.
00:19:50 Now, number three is about integrations.
00:19:57 Many integrations aren’t being updated properly, which is concerning.
00:20:05 We need to stay on top of integration updates.
00:20:14 Furthermore, they need integrations with new technologies.
00:20:24 We should continuously work on improving and upgrading integrations.
00:20:30 Getting closer to number two.
00:20:39 This is something that every person I spoke to was excited about.
00:20:43 And that’s Rails full-stack with the fantastic advancements with Hotwire.
00:20:50 But we still have some challenges, especially with the documentation.
00:20:57 Many comments came in about the lack of documentation for Hotwire.
00:21:06 We need real-life examples.
00:21:13 Currently, we have community documentation for Hotwire, and it needs your contributions.
00:21:20 If you're using Hotwire, please share your experiences and examples.
00:21:27 We also need UI component libraries.
00:21:33 Ruby engineers need libraries to work with as they may not be familiar with CSS.
00:21:41 So, let’s be honest, there are several initiatives.
00:21:48 Yet, it’s just the beginning. None of those libraries are fully complete.
00:21:56 They aren’t on par with the React ecosystem, so we need to contribute.
00:22:03 Finally, there's the challenge of optimistic UI.
00:22:10 This is quickly becoming the new norm, especially for applications wishing to maintain a competitive edge.
00:22:19 A typical application waits for the round trip to the server for the action to complete.
00:22:26 With optimistic UI, it creates an illusion of zero latency.
00:22:33 If you're utilizing popular applications, you know what I'm talking about.
00:22:39 But we need to integrate this into Hotwire.
00:22:45 And there’s already a Hotwire optimistic UI challenge.
00:22:54 What do you think is number one?
00:22:58 If Hotwire is number two, then what could possibly be number one?
00:23:05 Yes! The single most requested thing from CTOs of growing companies.
00:23:18 Let me lay it out for you. Most of the big companies known to run on Rails are using React.
00:23:27 Let’s be honest. The new startups aiming to compete with existing businesses also need a competitive edge.
00:23:37 Yes, Hotwire has streamlined the front-end story, but we still need a reliable way to integrate with React.
00:23:46 Many companies working on Rails today are inventing their own bicycles.
00:23:51 There's no standard integration path, so let me outline three scenarios.
00:23:58 One is GraphQL, but the tooling for subscriptions is far from perfect.
00:24:07 The second is REST API integration.
00:24:14 We’re trying to build something here at Evil Martians but it's not quite there yet.
00:24:22 Finally, not every setup needs an API.
00:24:28 The simplest way for a startup to use React is to drop a component into a view.
00:24:36 But ensuring type safety and a consistent developer experience remains a hurdle.
00:24:42 This is why we need to work together to find a seamless integration process.
00:24:51 Now you may be wondering—so much work for the Rails core team?
00:24:57 Indeed, we have five core team members here today; let’s give them a round of applause.
00:25:06 They do a lot of unglamorous work in addition to new initiatives.
00:25:12 We must appreciate this.
00:25:17 However, the tasks I mentioned aren’t just meant for the core team to build.
00:25:24 That's never been the plan; Rails integrates with various ecosystem solutions.
00:25:35 The world of applications built on Rails is vast and complex.
00:25:46 There cannot be one solution for all; we need diverse solutions from both inside and outside the core.
00:25:54 If you’re not convinced, keep this in mind: many CTOs told me they prefer community-built solutions.
00:26:03 Why? Because they often find solutions that cater to fast-growing enterprises.
00:26:11 The future of those startups and new companies relies on all of us.
00:26:19 I've noticed that my friends in the community sometimes feel the need for validation.
00:26:27 They feel that without someone's blessing, they can't move forward.
00:26:36 I want to tell you: recognize those thoughts and rebel against them.
00:26:43 The only person stopping you is yourself.
00:26:51 We are a mature community that has weathered a lot.
00:26:59 People of all ages are choosing Rails today not because of hype, but because it enables them to build as fast as possible.
00:27:07 There's nothing better for them out there.
00:27:14 This signifies that Rails has real value. The ecosystem has genuine worth.
00:27:21 It’s time for us to move confidently forward to recognize the importance of the core and ecosystem.
00:27:31 This is an indicator of a mature ecosystem.
00:27:38 Now is the perfect moment to build in this community.
00:27:44 And yes, earn money while doing it!
00:27:50 Please do build educational courses, software, consulting, and start local meetups.
00:27:56 Use open-source as marketing.
00:28:02 There are countless ways to be commercially successful while building for this community.
00:28:10 If you think I’m being theoretical, rest assured I am very practical.
00:28:19 Tomorrow is the big day! When I say build, I mean tomorrow.
00:28:26 We’re going to have maintainers of open source present.
00:28:33 Bring them your feedback, your success stories, and share!
00:28:39 If you're using open source effectively, let the maintainers know.
00:28:46 They often only receive negative feedback or issues.
00:28:53 Let’s also contribute, upgrade libraries, and build new integrations.
00:29:00 Let’s use tomorrow for all of this.
00:29:07 And whatever you do, don’t be shy about building with Rails!
00:29:14 I’m practicing what I preach here by not being shy.
00:29:21 I'm sharing a page where we list all the open source dependencies and recommendations.
00:29:29 This is our first version, but we will keep our source updated.
00:29:37 This is different from our blog posts, which you probably know about.
00:29:44 So be sure to check this out!
00:29:52 On that note, thank you all for being here.
00:30:00 Thank you, and please support Ukraine!