Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
An Overview Of Upcoming Ruby on Rails 7.1 Features Part 1 (manny.codes)
161 points by siaw23 on Dec 20, 2022 | hide | past | favorite | 124 comments



I have a feeling the big picture theme for 7.1 will be Docker. See https://github.com/rails/rails/pull/46762 for production, and https://github.com/rails/docked for development.


I’m stoked about this. It will make it even easier to support deployments to https://fly.io/ and other Docker platforms.


I love Rails and how simple and boring[0] it is, and appreciate how it keeps evolving and growing. I've dabbled with some Javascript frameworks and Elixir/Phoenix, but always come back to Rails and forget just how fast and productive I can be. A lot of people complain about it, but I feel like Active Record just can't be beat, and helps me feel so productive. Add Stimulus and Turbo and the level of UI fidelity possible is impressive.

[0] https://boringrails.com/


You can like rails, but calling it boringly simple is highly misleading. I think, generously, something like "complex but fully-featured" might be accurate.

As a reference point, the top 2 rails books on amazon are 900 and almost 1100 pages.

I say this to warn those who are looking for something minimalist and quick to learn -- Rails does not fit the bill.


nah, at this point RoR is boring (in a good way), and it's a good thing.


Boring in a good way, absolutely. Definitely not simple though


I was struggling with rails 6 and whole JS / webpack thing. But with rails 7 it feels like home again


I love how they focus on simplicity and are not afraid to cut stuff out. Often times, software projects get more complicated over time. Rails seems to get simpler.


it has added stuff (attachments, some wysiwyg editor, docker support) while removing other. It's neither getting smaller nor bigger, it just "moves" (maybe following Basecamp's needs).

Which is (arguably) a good thing.


I've got two problems with Rails:

(1) IMHO they've flubbed the progressive typing. I'm spending some time learning Typescript and React. And it's amazing. The type system is flexible, powerful, and works well with an IDE. It's just way faster to write when code gets complexer. The fact that it's null and type safe is the cherry on the top. Amazing that Javascript with all of it's warts can be turned into this.

(2) They've never really got the front end story right. Coffeescript was a dead end, then Turbolinks was the thing, and now it's Hotwire. None of them are really right. Rails will always be a primary SSR paradigm. They just need an easy way to do basic dynamic things like show/hide fields and form error checking clientside. Ideally something written in Ruby and well integrated into the form builder.

A bonus for (3) is that the Rails UI is ugly out of the box. Wish they'd have more integrated UI components that are production ready.


1 has nothing to do with Rails. Rails is a framework, Ruby is the language.

As for 2, I see this as a common complaint, but Hotwire, Turbo Streams with ViewComponent is a really power combination whose full potential is still being worked out.

As for client-side error checking... why? So I have to maintain validations in two places and ensure they always match?

I don't even understand your 3. Rails has no UI. Do you mean the CSS applied to the scaffolding views?


I agree with your number 2 especially, but think that Stimulus is doing a fairly good job at it now. The Turbo side of Hotwire still feels like a bit of a mess, especially once you try to do a lot with it. But little Stimulus controller additions here and there are (with the main exception of managing a lot of verbose data attributes) almost a delight to work with.


> I feel like Active Record just can't be beat

Please allow me to introduce Sequel (https://sequel.jeremyevans.net/) for your consideration.


I was pretty sad to see the pattern matching PR reverted for 7.1 [0], but I guess the Rails team wants to make sure they nail the execution (?) even if that means being late to the pattern matching party, which is arguably one of the best additions to Ruby since the 1.9.3 hash syntax.

For now, I'm good with the little gem that kddnewton put together (https://github.com/kddnewton/rails-pattern_matching).

[0]: https://github.com/rails/rails/pull/45553


Yup, I was hoping this would make it to 7-1 but I suppose there were too many cases to consider.

I wonder if certain features could be marked as "experimental" by Rails core like they do in Ruby, and include them without the promise that the API would be stable (or even be present at all in the future).


I don’t understand the issue - why was it reverted? Are there multiple ways to do pattern matching? Why?



I read that comment, but unless you know Ruby most of the specifics are meaningless


think of pattern matching being implemented via methods on an object which return a hash/array (deconstruct and deconstruct_keys).

ActiveRecord objects wrap an hash of attributes, but are also normal objects which have instance variables and methods plus some hooks and specific API that can be expected to be overriden.

So it's unclear how the method should behave: just read from the hash? Invoke some specific method? Invoke any method?

The answer may be non obvious.


I think it was reverted because the Rails team isn't sure what values of a model should be available to pattern match, and how each attribute or association should be pattern matched.


I was a devoted rails fan 10 years ago, but haven't looked back since full stack typescript.

What's the general vibe on RoR nowadays?


I’ve never seen a more productive stack. Enables me to build complete apps as a single dev - which would take 2x-5x of the time and effort if using separate front end apps. Ruby makes me happy when I use it. Hotwire and Stimulus let me create front end interactions without a separate SPA. The ecosystem is mature and well maintained. Absolutely love it.


Rails is really a gift. It's so productive and works so great on teams because of the heavy conventions I think. And the ruby library ecosystem is insanely good. Libraries generally do what they say they're going to do and there are libraries for everything. I've wondered a lot about why this is. Heavy air time? Is there something about ruby?

Every now and then I try some new web app framework that catches my eye in some new language and it always seems like its just getting started compared to rails -- and, it is. Worth noting -- rails works great API only as well. I bet Django is pretty good by now too of course, but Rails is really a fantastic tool well suited to task.


I second this sentiment exactly!


> What's the general vibe on RoR nowadays?

Most people that use it are fine and productive.

Because of lazy evaluation, type issues persist though. Plenty of instances of trying to call string methods on integers, and array methods on nil, and Rails devs in denial that that's a big problem as the app continues to grow.


I don't think it's denial - I've worked on a ton of rails apps of all different sizes and scales and...I've gotta say, I just don't see the issues you name in production all that often.

It's a problem, but it's not a big problem.


It’s not a big problem until it is.


> Because of lazy evaluation, type issues persist though. Plenty of instances of trying to call string methods on integers, and array methods on nil, and Rails devs in denial that that's a big problem as the app continues to grow.

This is not anymore inherent in the language. Gradual typing support for Ruby is now reasonably mature (companies like Shopify with large codebases have adopted it), so it's up to the team do decide if they want to take advantage of it or not.


For what it's worth I've been working with Rails projects for over 7-8 years and I've never encountered this as a problem


I have to agree on this one, it feels like some people are in denial of type issues within the Ruby / Rails community.

I've been experimenting with Rbs, Sorbet & Contracts though, they have their potential.


The UX is terrible. Separate file for types is just inconvenient. I wish it was something like Python's optional typing


Optional typing in Ruby would be so awesome


To be fair most of typing problems in Rails can be solved by having contracts and an operation pattern, kind of like Trailblazer, although they went a little bit too far lol


> and Rails devs in denial that that's a big problem as the app continues to grow.

As someone who maintains Rails 3 apps ad infinitum, this is where things break down with Rails applications. You can create applications very quickly with Rails if you stay within the conventions. But as the app grows, that discipline breaks down and the structure starts to suffer.

This is true for a lot of web applications. But I think the problem is worse for Rails because it's so easy to get started and create apps. That ease comes back to bite you -- as a giant legacy Rails app that no one on the team understands and no one is interested in fixing or maintaining.


Because of lazy evaluation or because the developers aren't properly documenting their work? A language with a formal type system essentially forces you to provide type documentation, but there is an expectation with dynamically typed languages that you will still document the types (probably in your test suite). Rails in particular makes this a core function of the framework to really push you to do so.


> Rails in particular makes this a core function of the framework to really push you to do so.

This sentence surprised me. How does Rails do it?

I never documented types in Rails and all was well, since 2005.


Rails puts testing front and centre. Testing exists to document how features are intended to function and intended to be used (with the added bonus of enabling machine validation of the documentation).

If a function accepts an arbitrary type, as is the case for all inputs in a dynamic language, one needs to document how the function is expected to behave when given x type. This is ultimately the same as type checking in a typed language. It just moves where the documentation is located.

In that move, it is true that you often lose some strictness in the quality of the documentation. The developers who have an active hatred towards their co-workers may even forgo writing documentation entirely. But if you reach that point you've really got people problems, not technical problems.


I've just added Sorbet and Tapioca to a Rails project and I was pleasantly surprised to find out that it works very well now!

As I add type annotations to my methods, VS Code and Sorbet are giving me similar feedback to what I get from Typescript projects.


I use type assertions for this https://github.com/olegantonyan/typerb


The main problem is active record insanity and poorly designed table relationships/indices that lead to maintenance nightmares.


> active record insanity

What exactly do you mean by that? It's just a bad ORM all around or is there something specific that is insane about it?

> poorly designed table relationships/indices

What does that have to do with Rails? Poorly designed database models are the fault of the developer(s) who designed them.


> poorly designed table relationships/indices that lead to maintenance nightmares.

Like what?


I love TypeScript, but Rails has a wonderful ecosystem of libraries that just feels unbeatable for the backend. For some reason (hot take incoming) the JS community seems to hate working with each other and improving existing libraries. The Ruby community seems to rally around improving our libraries (gems) rather than reinventing them every year.


I take it you’ve never tried to install nokogiri?


It's been fine for years now.


I think this joke is five or six years out of date (maybe more?). Nokogiri has been a breeze to install for a long time now.


I used nokogiri in Ruby on Rails in 2015 and since, and have never had a problem installing nokogiri.


Exactly. It did used to be pretty finicky, but yeah I think it was 2015ish that those issues were fixed.


I use it daily for my company's API. It's still the most productive framework I've used, and I've used full stack Typescript too (i.e. the wild west).


I recently tried Nextjs and Remix to explore other stacks since I've been using Elixir and Phoenix since 2016.

You won't find the dev UX you take for granted in Elixir and Phoenix.

Endless routing options, background jobs? Just install Squirrel and yadabadabadoo or just use AWS SQS(https://old.reddit.com/r/nextjs/comments/qspw4v/how_to_do_ba...). What about solid backend processes? Can I call those in some kind of repl? In Elixir I can just go `iex -S mix phx.server` and `MyModule.foobar("test")` and bada bing I'm all set. What about logging? Wait I need to decide and configure a logger? I also need to decide and configure what to output to? What about a nice ORM? Prisma looks good, set that whole thing up from scratch, I need to await, but special considerations need to be thought of when iterating through a collection? Promise.all vs for..of? I iterated an array and want to save it to the DB but it's running out of connections (https://github.com/prisma/prisma/discussions/16884)? Why do I even need to think about this?

Really curious to hear your counterpoints to this because granted I am quite new to backend typescript.


The counter argument is that you don't have to babysit any of those services. AWS/some other PaaS will handle everything for pennies. Unless you are working in a low cost of labor country, developer time is going to be more expensive than anything else. It will take very large scale/growth for infrastructure fees to exceed the total compensation of a decent US staff engineer or a site reliability engineering team.


A problem is that "penny" isn't actually penny for hobby or very small internal in-corp project.


What are you using for full stack Typescript? I’m not aware of anything as batteries included as Rails.


There isn't one. RedwoodJS or Blitz come closest, IMO.


And maybe deno+fresh? https://fresh.deno.dev/


Still using it, still highly productive. Not doing as much Rails work as I was 10 years ago but that's due to a change in the nature of my business. We still use it and Sinatra for the bulk of our Internet-facing and internal stuff.


If you use Sinatra take a look at roda. It’s fast and elegant.


I've been meaning to, several people have recommended it to me!


At the backend side, it makes easy to build websites. However, the UI layer is a bit complex to integrate with common framework libraries like Vue and React.

Although, I still use it in some projects :)


I'm not sure why you think it's difficult to integrate with Vue and React?

Maybe InertiaJS [0] would help.

[0] https://inertiajs.com/


OMG thank you! So many times I've wished for a nice way to leverage React UI components within Rails without the nuisance of APIs, client-side state, etc. This appears to fit that bill nicely.

Are there any glaring reasons one would not want to use this library?


Would you use this instead of Hotwire?


What technologies exactly do you use in your full stack typescript?


nodejs, postgres and react?


I would be curious to understand what frameworks people tend to use on top of nodejs (or even react). I have not found a standard devise-like way of implementing authentication in nodejs. The usual recommendation I come across is to develop all from scratch (encryption, emails, session management), using something like Passport, outsource it and pay to some third-party or use a framework like nextauth which is very opinionated and hard to change basic options. It's not uncommon to see people changing between ORM or SQL builders all the time because it's hard to find one that works greatly - it seems like a common discussion online in node communities.

I love TypeScript and would love to use it more extensively, but whenever I start a project, I quickly feel like I'm wasting so much time to do something that I'd hope a) it'd be very quick, and b) there would be some general agreement in the community on the right approach. It'd be great to compile what libraries to use, so you can very quickly put something together like you'd be able to do with Rails (e.g. devise, sidekiq, actionmailer, ...).


Switched to Elixir/Phoenix a few years ago and have never looked back. Absolutely a 100% improvement on Rails in every way (except the availability of work!)


I revisited rails this past week for the first time in nearly 10 years. So much easier to quickly develop an app on than what I have been doing. I feel done with the whole SPA thing unless there's no other way to build the app.

But now I'm looking at performance, and memory usage, and phoenix looks very appealing from that side.

Now I think I should try pheonix, since both rails and phoenix are new to me, so I can compare.


What is so nice about Elixir/Phoenix?

I understand that it is functional, which seems neat, but how does that translate into better app development?


I don't have a lot of direct experience, but one of the big draws is that by running on top of OTP you get a lot of stuff for free that you'd otherwise need to hit external dependencies for. Caching and background job management that usually see you pull in Redis are the common call-outs.

Also, Phoenix LiveView is absolute voodoo magic the first time you experience it.


Also, performance is mind-blowing.

Still I am not really sure that the tradeoff makes it worth against non-FP frameworks a la Rails.


Elixir is great. I love it!


what the heck is full stack typescript


presumably the "programming language(s)" part of the stack never changes between front and back end (it's typescript)?


Writing typescript code that compiles to javascript code that runs on a platform like node.js, and writing typescript code that compiles to javascript that run in a web browser.


Rails is unfortunately much slower, and it’s quite coupled to the concepts of server-side rendering and OOP MVC. Making Rails work with a modern frontend feels pretty hacky compared to using a full-stack TypeScript framework.


I'll give you the slow, but "modern" frontend is a breeze. Webpacker (yes, the deprecated one, newer solutions are worse) handles React beautifully, and my graphql API definition gets seamlessly converted into typescript types. If anything, it often feels even easier than the code sharing I've experienced in node-land.


What are you using for GraphQL support in Rails? I was just looking into this yesterday.


Because maybe other people might read this:

Rails are good enough to keep Shopify standing for another year of holiday sales. It seems to do that since 2006, so this alone demonstrates that Rails can support you a long way in your multi-billion business.

And if you think: "yes, but Shopify has a big talented team," I feel the need to say back, "Well, when you are at Shopify business size, you will have it too. And Shopify used it when they were small too."

I am not saying Rails fits everything, but if your business fits Rails, that is a great framework to build with.


Any link to what you refer as fullstack typescript?


I went from a full stack typescript project to a rails project and honestly I hate it.

The Ruby language is great if you want to jerk off about how concise your code is but programmers end up creating overly abstract, write-only code.

There’s so much magic that it’s hard to trace the code to see where stuff comes from.

Abstractions are over-engineered. Serializers should be simple, async functions that are easy to step through and debug. Instead you have serializer relations? Delegates, etc.

Don’t even get me started on updating rails itself. It’s a massive pain every time and you quite often see projects that are multiple major versions behind.

In typescript it’s common to integrate multiple independent libraries into your own framework. This is great because if I need to update my database library I can focus on that specific part of the code. Updating rails means everything could potentially break.

Oh and there’s no type system so good luck.


Great to see so many new features in Rails. Tbh, one of the reasons I use it for certain backend projects is how simple to do complex things.

Managing files and image variants is a pain when developing a site. Rails make it easy and even adds more features around.

However, I still think the UI layer is too coupled to the backend. Webpacker was a try, but I understand why it's deprecated. I would go on supporting common frameworks, even if it's just a template to organize the code.


It being a SSR framework is one of its advantages. De-coupling it is beyond trivial. They really have offered the best of both worlds.


Rails do support frontend frameworks like Vue if you wish to create more interactive & advanced UI's.


Finally upgraded some internal applications to Rails 7 this month, and I was very happy with the asset pipeline changes. Rails' asset pipeline management hasn't really meshed with our development strategies for CSS and JS for a long time, and it felt like we were always fighting with trying to make our process fit Rails' expectations.

We're on Propshaft now and I expect far fewer asset issues in the future :P


I am really excited about the possibility that Rails finally get something in the way of ActiveDeployment. This tweet https://twitter.com/dhh/status/1604856555848884225 and the commited changes make me wish and wonder.


1. Rails retired Webpacker [that] compiled and bundled JS. Import maps, Turbo and Stimulus [are now the] default options, replacing Webpacker, Turbolinks and UJS.

How do these new tools compare with the old? Versus Webpack, Vite etc?


My impression is that there are two ways to use rails:

1. Your frontend js needs are pretty minimal and you don't want something approaching a single-page app. In this case, you lean into Turbo and Stimulus to have rails do most things for you that would previously have been done with some a heavy-weight react-based frontend.

2. Your frontend js needs are significant and you do want a single-page app. In this case, ignore/disable turbo + stimulus. Instead, build your rails app as just a json API and then have a separate project for your frontend built using a dedicated frontend build tool like vite/CRA/webpack/etc.

On one hand, I feel like the turbo/stimulus stuff is the rails community preferring to pretend that the JS world doesn't exist. On the other hand, maybe it's really just the rails world embracing the above dichotomy: they're tools for doing some light frontend work with no JS, and an acceptance of the fact that if you want an SPA, there are better non-rails tools that you'll wind up using anyway.


My employer fits your first criteria precisely. Turbo and Stimulus provide exactly as much interactivity as we need. The appearance is that we're trying to avoid Javascript. The reality is that we are (successfully) minimizing context switching when working on the code base.


I think your point (1) doesn't really match with what the rails devs expect.

37Signals have both their Basecamp and Hey.com products which act very much like a single page app but only using Turbo and Stimulus.

I think the rails devs believe that single page apps are overused and the majority of functionality can be done using just the provided tools.


Yeah, the ruby community has a bit of an axe to grind with SPAs. Opinions range from the defensible ("JS is a bit overused, sometimes pure serverside rendering like Rails does is all you need") to the imo-ridiculous ("Pretty much no one needs an SPA and the whole frontend JS world is a passing fad").


We went with esbuild and regardless of speed (it's way faster) the main reason I like it is because the config is tiny and I actually understand what it's doing. Our Webpacker config was big and fragile by comparison.


Better. Much, much better than webpack/vite imo.


A specific example? Genuinely asking (codebase is Typescript/ES6 modules).


> Genuinely asking (codebase is Typescript/ES6 modules)

No luck for you then. Rails doesn't seem to love typescript: https://github.com/rails/importmap-rails/issues/124


> Later in the year, Rails retired Webpacker

Is Rails anti Typescript? It’s weird to see most other JS environments move to Typescript by default, while Rails now now ignores the ability to use it without jumping through hoops.


Depending on what your app is, I've found server-side rendering to be superior in nearly every way. I don't use Rails but Django is the same way. Django templates, bootstrap, jQuery and sprinkle in a little bit of HTMX here and there and my productivity has never been higher.


If you are building for a single target (aka web browser) I agree, it’s very easy to access your ORM with SSR.

But if you plan to support multiple targets (web, mobile, headless) then you have to develop an api anyway so why not use the best front end framework for each of your targets?


The Basecamp folks feel that web and mobile are the same target: https://turbo.hotwired.dev/handbook/native

Rails doesn't stop you from building a backend for your React and React Native frontends, for example just look at Shopify.


> Is Rails anti Typescript? It’s weird to see most other JS environments move to Typescript by default, while Rails now now ignores the ability to use it without jumping through hoops.

Have you not paid attention to the direction Rails is going? Hotwire (Rails' default front end) is all amount rendering HTML directly (not via JS) and using the absolute bare minimum amount of vanilla Javascript (with Stimulus). It's not React... So why would it need TypeScript's features and added complexity?

The whole point is using vanilla ES6 without a compilation step...


If Hey has shown me anything, it is that Hotwire IMO is a complete gimmick. The frontend of Hey had so many issues for me. I used used hey from release until about a month or two ago, and it was the terrible UXUI experience that pushed me to cancel. Weird loading issues, things would update after performing actions, not loading in place correctly etc.


If you think Hey’s UI is bad, you should try Basecamp


Could you provide some examples? I use basecamp 8+ hours a day and have no idea what you have in mind.


My post was mostly in jest. I’m well aware the “method_missing” crew has no desire to statically analyze their programs.


Webpacker was a wrapper for webpack, which was an attempt to make webpack easy to use but instead added unnecessary complexity.

You can use Rails with React/Vue + TypeScript pretty easily by using something like rails-esbuild or vite_ruby.

I'm currently working on a project with Rails, React, TypeScript, Vite, and InertiaJS and have been very much enjoying it, especially now that Inertia supports SSR.


I just started a new Rails app for a side project and while Webpacker has been retired, there are still options for Typescript. For example, I'm using esbuild and it works with Typescript out of the box - no hoops to jump through.


[flagged]


I'm not on the RoR stack, but I think it doesn't generate a lof of buzz today because it's no longer the flashy new toy (IMO rust, go, kubernetes, a gazillion of react components in the UI, elixir, etc. took its place of "guess what, now we are running this!").

It's a battle tested and stable framework and I would use it anyday, but you no longer read much about it on the news, junior devs are not trying to pitch it as the next silver bullet. So, to be short, it's lacking buzz and online engagement. The tech is all there, the fad has passed.


Now we're entering a downturn I think those who went down the path of 'flashy new toy' tech stack will start seeing their chickens come home to roost

Rails people will just shrug their shoulders and keep being 10x as productive :)


Yeah I agree. It's not really about Rails the framework but the whole philosophy accompanying it (monolith first among others). Startups with complex micros services + kubernetes setups that will have to fire devs won't be fun to work for. These micro service architectures thrive on huge teams, not 10 guys...


Shopify and Github being run on Rails sorta put it to bed a long time ago.


Yes but we should not look at unicorns to settle this argument. After all not every company has the size of a unicorn, the world is not big enough for that. Very few companies get to the point that any random technology won't do.

I've seen dozens of Rails projects going in production and many are still there. Same thing for any other programming language I guess. For normal sized companies Rails is OK.

What matters is: do you still find developers to work with your technology after 2, 5, 10, 20 years? If you don't, you have to move the project where the developers are. In the case of Rails they are still here for hire.


I just hired a developer for a Rails application. They definitely exist :-).


I don't know if anyone needs to think about 20 years from now anymore with the new A.I advancements we see on a monthly basis. I'd be surprised if humans still wrote code 20 years from now but we'll see...


It really didn't otherwise there would be a lot more than just those two, everyone would follow their beat. We all ran rails 10 years ago and realized that unless you're a large corp with money to burn on 'ecosystem' then Rails doesn't make a lot of sense.

I want to like rails and to see it do well, but it's not keeping pace with the rest of its peers. As competitive as web dev is these days, it's not sufficient to just be rails, you need a ruby alternative to rails as well. Look at javascript. Nobody uses javascript straight up, there's a multitude of rails-like frameworks for javascript. A new one is made each day, and they have staying power.

Ruby has Rails, and some might argue that metaphorically speaking Rails has Ruby, by its polite little balls. Unfortunately Rails's star power is outliving Ruby's and given that new Ruby devs aren't being born every day, it's not hard to see that that's bad for Rails.

I'd love to see rails move to JS or Elixir or something that'll get people interested in it again, and KEEP them this time by being written in something fast.


so much of the web is php and rails it just feels alien to see this kind of thought process


Rewriting all of Rails to a different language would be a humongous effort. And as you've mentioned it's been done tons of time already: almost every language has a "Rails-y" framework. Some are good, some a bit less so, but they exist. Rails in $other_language would also no longer be Rails, because other languages have different ways of doing things.

In short, if you don't want to use Ruby, then don't use Rails.

Also, many large Rails services have some performance-critical parts written in $other_language such as Elixer, Go, Rust, etc. "Using Rails" doesn't mean you need to use it for every last bit.


LOL at the idea of JS frameworks having staying power. Is this GPT?


With the current economic downcycle it is also the most budget oriented option. We will see a reborn of the "Full-Stack" for a while.


Adding a few more to the list; Twitch, dribbble, hulu, zendesk, airBnB, Square, Kickstarter, Heroku, Coinbase, Soundcloud, cookpad, slideshare.

I guess, if you choose Rails, there is more chance you will build something beyond MVP as you get to focus on what you build not how.


I think you've gotten downvoted because it wasn't true when Rails 1.2.0 was released on Ruby 1.8, it wasn't true 10 years ago, it wasn't true 5 years ago and it still isn't true today. It's a meme, a synthetic reputation, one based in FUD, with nothing to back it up. Countless businesses have been built on Rails. All successful code regardless of language and framework evolves to fit emerging needs.

Also, the onus isn't on any community to 'prove' to outsiders that their thing can meet the demands of skeptics. It never will, they will find another reason, and then another one after that to fuel their FUD.

So when you write what you did in this thread you're not really, in my view, contributing to the conversation. You're just repeating something you've heard and this far in, it just feels grating.


I guess my 9 year old very profitable MVP on Rails 7.0.4 disagrees!


Mastodon seems to be doing a pretty good job of running Rails at scale.

https://docs.joinmastodon.org/dev/overview/


I am curious, what do you think is what holds Rails from being useful for going beyond the MVP. In 15 years I've seen my fair share of Rails projects going to production and keep evolving with the business, and not in the startup world.


What would it take, in your opinion, for that reputation to be outrun?


For worse, it seems general comments like yours on very specific posts attract the most votes.

HN makes downvoted posts so low-contrast they're nearly illegible for me




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: