Remix.run Logo
paozac 5 hours ago

I love rails and the recent improvements are great.

I have the impression, though, that these days it only appeals to those who picked it up before version 3 or 4, when it was smaller, maybe more understandable, and incredibly better than all the competing frameworks (except Django maybe).

If your first contact with rails is version 7+ and you’re only comfortable with JS/TS, then you’re not going to get it and might actually strongly dislike it

e12e 11 minutes ago | parent | next [-]

I'd say that if you're first encounter with rails is version 8+ -- it's a lot easier to use than previous versions.

Partly because the handling of JavaScript is much less bespoke and complex.

XYen0n 5 hours ago | parent | prev | next [-]

I now also believe that at least Active Record is much easier to use than Django's ORM

rdevilla 5 hours ago | parent [-]

Doesn't matter when devs just slop out 400 lines of SQL and bypass the ORM.

Frameworks and structure will save you from neither stupidity nor ignorance.

neocron 4 hours ago | parent | next [-]

If have a different opinion on this, as I think it's 100x better to learn sql and just write it directly instead of using the dozens of leaky abstraction of some framework.

dewey 5 hours ago | parent | prev | next [-]

That has always been the case, why would it be different now? Easy to flag and spot in code review.

rdevilla 5 hours ago | parent [-]

Boy, I sure wish I had the opportunity to review codebases before inheriting them for maintenance...

dewey 5 hours ago | parent [-]

I get your point but this is neither a Rails, nor an AI problem and as old as time.

_kblcuk_ 5 hours ago | parent | prev [-]

I mean, I've seen enough "django specialists" to end up with queries doing a dozen of join bombs and producing 10 million rows from dataset of maybe 1000 items. So pretty safe to add "ORM" to your last statement.

Zanfa 5 hours ago | parent | prev [-]

> If your first contact with rails is version 7+ and you’re only comfortable with JS/TS, then you’re not going to get it and might actually strongly dislike it

This is the primary issue with Rails in my experience. It takes intentional effort to internalize the idioms before it clicks and you unlock the magic that makes it so insanely productive. JS devs will keep trying to force backend business logic into Franken-React Stimulus components and complaining it's not very good.