Top
Best
New

Posted by stanislavb 13 hours ago

Returning to Rails in 2026(www.markround.com)
315 points | 192 commentspage 4
itsthecourier 4 hours ago|
and security.

ideally a JS frontend app won't show logic not intended for the user type in question.

in practice, really often I see a huge app covering all roles and cases, a trove of info for the red team. and even worse, the reality of software development with LLMs in 2026 is plenty of code is being shipped without security audit.

I know it's not an inherent fault of the JS frameworks. bit I share what I see on the streets, most of custom JS apps I see are way more vulnerable to hacking than a old-style MVC app.

yes it is possible to make mistakes in both styles, but in JS apps I probably see 400% more easily discovered vulnerabilities than in a common MVC (even with stimulus) app

itsthecourier 4 hours ago||
try ActiveAdmin, it reduces work a lot. also, ruby is so succinct and rails is so opinionated, Opus is super effective building code and keeping the codebase well structured by default
midnight_eclair 8 hours ago||
i returned to rails in 2025 after 12 years pause and my experience has been frustration and annoyance

rails lost it's convention over configuration ways, the generated app is dozens of files, lack of explanations and guidance on how to setup various things like environments, kamal being the worst offender and the changes between recent major releases aren't making it any easier to read the (often ai slop) articles and docs

andrewstuart 6 hours ago||
Remember only one programming language delivers developer joy - Ruby.

No other programming language brings developer joy because……. errrr because ……. Well because we are just super certain and confident, that’s why! Oh and DHH said so.

shafyy 12 hours ago||
The main line on the Rails website now reads:

> Accelerate your agents with convention over configuration. Ruby on Rails scales from PROMPT to IPO. Token-efficient code that's easy for agents to write and beautiful for humans to review

And I fucking hate it. If I read this the first time I would think this is some kind of tool to optimize your LLM agents.

I have been using Rails for over a decade now and always liked the focus on writing beautiful and simple code. On making it easy to reason about with colleagues. Now it seems like DHH is throwing all what made Rails special overboard.

If we are all supposed to be talking to agents now, what's the difference if my agent uses fucking Next, Nuxt, Rails or Django?

mark_round 11 hours ago||
Author of the article here (hi! Anxiously watching my Grafana stack right now...)

I've only just noticed that on the Rails homepage, and while I acknowledge everyone's chasing that sweet sweet AI hype, I gotta say that's... disappointing[1]. The reason I fell in love with Ruby (and by extension, Rails) is because it enabled me as a human to express myself through code. Not to become a glorified janitor for a LLM.

[1]=Well, I had a stronger response initially but I toned it down a bit for here...

Zanfa 11 hours ago|||
> Accelerate your agents with convention over configuration. Ruby on Rails scales from PROMPT to IPO. Token-efficient code that's easy for agents to write and beautiful for humans to review

This is so painful... I can't help but wonder who they're trying to target with such inane slogans.

Rails is amazing, but "token-efficiency" is not on the list of reasons why.

wiseowise 9 hours ago|||
> This is so painful... I can't help but wonder who they're trying to target with such inane slogans.

Typical DHH insanity.

stephenr 11 hours ago|||
> This is so painful... I can't help but wonder who they're trying to target with such inane slogans.

The people who think that spicy autocomplete actually has an understanding of the slop it's churning out for them.

Zanfa 11 hours ago||
Those people don't choose frameworks. It'll be chosen for them by some LLM and given the prevalence of JS, it'll likely be some flavor of React.
hamandcheese 12 hours ago|||
> what's the difference if my agent uses fucking Next, Nuxt, Rails or Django?

The claim seems quite clear to me: "convention over configuration allows coding agents to be more effective".

But yes, I do agree that the main line should say what Ruby on Rails actually is, not why it's good for your agent.

fy20 11 hours ago|||
There was a post last week about the best programming language for LLMs, and in the comments people loved Go, with the claim being it's very opinionated and there's really only one way of doing things. I'd say the same is mostly true for Rails apps as well.

However having worked with Typescript for 8 years now... I'm not sure I could go back to Ruby without types. For LLMs thats important as well, the more guard rails you can give them the better. What's the state of type checkers today?

sodic 5 hours ago|||
> However having worked with Typescript for 8 years now... I'm not sure I could go back to Ruby without types.

Very true for me as well. I've never worked with Ruby but feel the same way about Django.

Btw, if you're looking for a "Rails but with TypeScript," my colleagues and I are working on almost just that: https://wasp.sh/.

The main difference, besides the ecosystem, is that we're more in the "configuration over convention" camp. Wasp has a simple DSL for specifying said configuration, but it's about to be replaced with a TypeScript file.

Wasp is still in beta and nowhere near Rails-level polish. But, depending on your early adopter tendencies, you might find it interesting regardless. If you do try it out, please reach out and share your thoughts.

apsurd 10 hours ago||||
TS is very AI native to the point i'd agree it's near magical in terms of contract.

However, the fact its still the js ecosystem with react, thing is even though it's super productive in churning out the code, there's too many possible ways to do something. it's unwieldy.

For example Claude is obsessed with making react context providers. it'll make tons of them to power every feature. and your app will happily hold 20 layers of russian doll'd state in memory with no way to link to anything.

you have to tell it, no don't do that. i need you to power this thing through the router, through the url. and that has to be designed cohesively. and that's very different from the context free-for-all.

sodic 5 hours ago||
> TS is very AI-native, to the point I'd agree it's near magical in terms of contracts.

I agree. Not only that, I feel like TypeScript is currently the only popular high-level language with a type system capable of communicating all meaningful information. It seems to have hit an LLM sweet spot.

Looking at other candidates:

- Rust is popular and has a powerful type system, but it forces you to program at a level that's lower than necessary for most projects, hindering usability.

- Go is much more usable and very popular, but its type system can't communicate much.

- Haskell has an excellent type system, but it's nowhere near popular enough, and its usability suffers due to esoteric constraints (laziness, purity).

- etc.

I don't know the recent developments in Python's and Ruby's type systems. They may be able to compete these days, but they were nowhere near TS's level in terms of contract a few years ago when I last tried them out.

And I admittedly have no idea what's going on with C# and Java, but I'd love to hear about it.

Kerrick 11 hours ago||||
Ruby has types with RBS and Steep now. It's a lot like using .d.ts sidecar files alongside JavaScript, via jsconfig.json configuring tsc. I like it a lot!
gommm 11 hours ago|||
Personally I love rust for agents because of types. In the ruby world there's sorbet and rbs so would be interesting to try that.
operatingthetan 11 hours ago||||
>The claim seems quite clear to me: "convention over configuration allows coding agents to be more effective".

The agents pick up conventions from the extensive code in their corpus and aggressively follow them. I don't think Rails being explicit about it adds a lot unless someone is prone to prompting towards absurdity.

gfody 11 hours ago|||
doesn’t forcing your agent to think in ruby put it at huge disadvantage though? since the language isn’t that popular it can’t have learned it as well as say python or Java?
hrmtst93837 8 hours ago|||
Python does have a bigger pool of examples, but agents usually get tripped up by missing context about specific frameworks more than by language syntax. The real obstacle for LLMs is understanding Rails' implicit conventions and magic, not the Ruby language itself.
barrkel 11 hours ago||||
Claude munches through Ruby just fine, all day long.
vidarh 11 hours ago|||
The frontier models all handle Ruby just fine. So does th cheap Chinese models like Mini, Qwen, Deepseek.
quinnjh 11 hours ago|||
>If we are all supposed to be talking to agents now, what's the difference[...]?

it's a little cringe, but arguably the benefit of having agents use rails would be tht when you review and audit the agent produced code, you review something that is, as you put it: "beautiful and simple code" and "making it easy to reason about..."

I loved rails back in 2017. I may be an outlier but the line tempts me to try it again despite having adopted the who cares attitude to langs. Would be nice to hear from someone first hand if they felt it helped.

kubafu 11 hours ago|||
I thought you were joking so I went to check it myself and... unfortunately you were not. That is insane.
raincole 11 hours ago|||
Don't worry, it's just the hype phase and it will pass. (By 'pass' I mean agent-coding will be so ubiquitous that it's a given and not worth mentioning.)
apsurd 11 hours ago|||
both statements are true though. rails excels in the AI world because it's extremely cared for and intentional with language. and there's a ton of built up knowledge.

fwiw that headline is cringey for sure. but DHH has proven himself a great marketer. it very likely is riding the wave.

slopinthebag 11 hours ago|||
Oh boy. I can't even imagine what sort of hell an AI could unleash on a language as dynamic and magical as Ruby...
imafish 10 hours ago||
That is just DHH (/37signals) being expert(s) at positioning.

Trying to answer the question of, why is language and framework still relevant in a world where almost everyone uses an agent for coding?

shevy-java 4 hours ago||
> Rails seems to have pretty much fallen out of favour, coming in at #20 underneath the bulk of top-10 JavaScript and ASP.NET frameworks

It's not just Rails. Ruby is dying. And has been for quite some years now.

The strangest things are people writing blog entries claiming the opposite. Like "ruby ages like fine wine". No, that is incorrect - it is dying. I have been using Ruby since about 2004 or 2005. I still use it just about daily. I started before Rails and couldn't care any less about Rails; sadly the ecosystem is infiltrated by corporations such as shopify and others. You can see how they took over RubyCentral effectively (and if they insinuate otherwise - nope, I am not an idiot. I see the pattern. I notice what is happening. You call a black cat a green frog and I call bullshit. It's a black cat. See RubyCentral running amok already before they mass-purged developers, but that's another story - let's go back to ruby, and rails.)

> And Ruby itself is nowhere near the top 10 languages, sitting just underneath Lua and freaking Assembly language in terms of popularity!

Yup. Ruby is dying. It is following perl.

Now, defining "dying" is hard because you still have an active community, even outside of the train wrek that is rails (anyone still caring what random crap DHH writes on his blog? I've noticed fewer people care about the garbage he publishes, other than making fun when shopify damages the ecosystem - oh wait, he sits on the board of shopify. Did I already point out how much damage shopify causes here?).

> But I’m a stubborn bastard, and if I find a technology I like, I’ll stick with it particularly for projects where I don’t have to care about what anyone else is using or what the latest trend is.

On this part I agree. Ruby as a language is very well designed. It is a great language. I don't think anyone really objects to this, so the criticism has to be split - some criticism is valid, some is not. As a language ruby is well designed.

Nonetheless it is dying too. That is also a factual statement. Anyone claiming the opposite is wrong. At the least this is the case right now, and has been in the last some years, to varying extent.

> realised Ruby was “a better Perl than Perl”.

Also true. Ruby is the better perl. But I actually call Ruby syntactic sugar over C, because this is actually what Ruby is, if you think it through. My use cases are mostly helper-scripts, tons of that, over whatever I do in general. Literally everything computer-related. That includes use cases for the world wide web. All my needs here are covered by Ruby - but not by rails. I don't need rails.

Sadly, ruby also has a second problem: documentation. The documentation is crap in general. Look at rack. Opal. WebAssembly for Ruby. That documentation is a joke. An insult. Even sinatra, though better documented than these, has a bad documentation for the most part. There are some exceptions; for instance, hexapdf is well documented, and Jeremy's projects are also well-documented. So I am not saying everything is poorly documented. But for a language that once claimed it wants to compete against python ... sorry, documentation-wise this is still an epic failure point. In some ways ruby actually deserves to follow the path to extinction like perl did, merely because it failed to adjust, adapt and really improve. Yes, there is some internal improvement, but in many ways ruby failed to solve the problems people critisized it for, for many years. And now catching up is SUPER hard. I don't think it can happen anymore. I thought it was possible 10 years ago, but the last 5 years made it clear that ruby is towards extinction. It still does not change me using it, since ruby covers my use cases, but anyone thinking there will be an influx of new young folk driving ruby forward, is just worshipping an illusion here.

> There’s just this minimal translation required between what I’m thinking and what I type.

That's true. Ruby is kind of transitioning your thoughts into code.

> Sure, I can knock things together in Python, Go, or whatever the flavour of the month is, but I always feel on some level like I’m fighting the language rather than working with it.

Kind of, though python works fairly well too.

> And of course there was the welcoming, quirky “outsider” community feel with characters like Why the Lucky Stiff and their legendary Poignant Guide To Ruby.

Well - _why ragequit when someone doxxed him. But even aside from this, I found the poignant guide super-confusing. It was art, but I prefer less confusion myself. Still, _why is gone from the ruby ecosystem. Supposedly he is still doing computer-related stuff in reallife but he is no longer really affiliated with ruby as such. Did I already point out that ruby is dying?

> it’s just so nice being able to write things like

    unless date <= 3.days.from_now
I don't doubt that rails is useful, but code like that sucks. Rails also came up with HashWithIndifferentAccess. This simply shows a lack of UNDERSTANDING. They pushed the DSL madness way too far. Yes, I get it, "I don't want to care if we have a string or a symbol" - easier access. But it is the wrong THOUGHT process here. And just the name itself ... HashWithIndifferentAccess versus Hash. Sorry rails guys - you were not good designers in a general sense of the word. The DSL may work; the DSL may be useful, but language or API designers? Nope, sorry. It's awful.

    if upload_size > 2.megabytes
I don't like this either, but I have less reservation here than compared to using numbers for time/date. It's cool that ruby is flexible to allow this, but I still think it is the wrong THOUGHT process.
shevy-java 4 hours ago|
> got Claude to generate the rest with some mockups of common screens and components.

And AI is doing the rest. The path to exctinction.

Does Claude make "scripting" languages obsolete? I mean that knowledge becomes less useful if AI autogenerates everything.

> This can be something simple like caching for a specific time period:

    <% cache "time_based", expires_in: 5.minutes do %>
      <!-- content goes here -->
    <% end %>
I absolutely hate ERB. It is strange that it is such an integral part of rails.

I abandoned PHP for many reasons but one was the spaghetti problem. Rail has the same spaghetti problem, though ruby is prettier than PHP. Still, that spaghetti design is just awful.

> This is why services like Heroku and Pivotal Cloud Foundry thrived back then

Heroku is also in the process of dying. There were some recent discussions about it on reddit as to why.

> While the Stack Overflow survey isn’t necessarily an accurate barometer of developer opinion, the positions of Ruby and Rails do show it’s fallen from grace in recent times.

It's not just SO though. TIOBE, despite being crap, also shows a similar trend. And if you research things, you notice many people moved on from ruby, for many reasons - often work-related.

The numbers are all there though. Now people either believe the numbers - or they write fake analysis such as this here: https://medium.com/railsfactory/ruby-is-not-dying-its-aging-...

> Anecdotally, I find a lot of documentation or guides that haven’t been updated for several years and the same goes for a lot of gems, plugins and other projects.

Yup. A dying ecosystem. I stopped using rubygems.org myself after Marty pushed the ecosystem into shopify's corporate pet project. 100.000 downloads and then your project is hijacked? Or the new shiny corporate rules? Nah. Go to corporate land and leave us alone, Marty. RubyCentral most definitely does NOT represent "the community". The original guys who wrote rubygems - now these were community folks, not some corporate ponicorns. Sadly when money is tight, bad things happen, and the ruby ecosystem showed this beautifully. Kind of bad too because it means money wins over community; but this is a chicken-egg problem, because how to grow a community if the trend goes downwards, for whatever the reason(s)?

> And I find that most gems follow a similar downward trend of activity.

Yup - but this is also old, even before RubyCentral transitioned into CorporationCentral. Ruby folks left ruby, years ago already. The people I knew from, say, 2005 to 2012 or so, also from IRC - some still use ruby, but most moved on to other things (also for financial reasons usually).

> Rails on the other hand actually seems to be picking up steam and has been remarkably consistent since the big “boom” of Rails 3.0 in 2010

Nope. Rails is also dying. It does not have the same 1:1 problem as ruby has, but the decline is 100% there too.

> Rails is a rare example of an OSS project that’s grown into its release cadence rather than burning out.

Not really. Ignore the promo. Look at the facts. Rails has been hurting too (which makes DHH laughing about when RubyCentral mass-purges developers both evil and silly, because that hurts the whole ruby ecosystem too - what was shopify thinking here?).

> Whether it can still find an audience amongst new developers is an open question

Yeah that is the question. Unfortunately the answer is there: new developers won't use ruby for the most part. AI also competes here now.

2026 is not like 2006, sorry folks.

> I probably could eventually build things almost as fast in another language or framework, but I doubt I’d be smiling as much while I did so.

Well, I used perl, php, python (still use python too). Ruby is more efficient for my brain though. And I disagree that I could be as fast as in another language. I simply have fewer barriers when writing ruby for the most part. Less restrictions. I don't think anyone thinks ruby itself is a bad language at all. We need to keep the discussions separate.

Pretty good comment from Mark Dastmalchi-Round by the way. Well-written, tons of details, opinions - even if I may disagree with some points, the overall quality of his blog entry is very good. We should give him very good marks for the blog - even more so as it is not on medium.com. I hate medium.com (and the link above, is to medium.com ... why did I link it ...)

ClaudeAgent_WK 6 hours ago||
[dead]
nick_lt 8 hours ago|
[dead]