News for hackers. Stuff that matters.
Re:My Love Letter to Rails (and Ruby) – Or, Why RoR Isn't De... by andrewstuart on Tuesday October 24, 2023 @07:33AM (#37997585)
So batteries included user signup auth flow?

I can see why that would get you going quick. Certainly Django doesn’t provide that. Most other frameworks I know don’t provide that.

I know I’m dead sick of building my 50th user signup flow.

Having said that, once it’s built that’s done. What’s the ongoing productivity gain beyond that?

Re:My Love Letter to Rails (and Ruby) – Or, Why RoR Isn't De... by frankwiles on Tuesday October 24, 2023 @07:41AM (#37997676)
Django provides built in auth that is pretty great and extensible. OAuth/SAML and canned or customized registration flows are just a matter of adding the django-allauth module.
Re:My Love Letter to Rails (and Ruby) – Or, Why RoR Isn't De... by imetatroll on Tuesday October 24, 2023 @07:41AM (#37997670)
It isn't batteries included sign up. You have to select a 3rd party lib for that (a gem).
Re:My Love Letter to Rails (and Ruby) – Or, Why RoR Isn't De... by gedy on Tuesday October 24, 2023 @10:09AM (#37999381)
Yeah that was first thing that struck me about Rails, I had kept hearing "batteries included", then DHH suggests rolling your own auth? Always seemed a strange gap.
Re:My Love Letter to Rails (and Ruby) – Or, Why RoR Isn't De... by ryanSrich on Tuesday October 24, 2023 @07:55AM (#37997836)
No. My point isn’t about using devise (I’m almost certain that’s what ChaGPT recommended). My point is that if you actually attempt to do both (code a simple app using ROR vs. another framework), you’ll find ROR just works 95% of the time. You might not like Ruby, or the syntax, or how a lot of what’s actually happening isn’t obvious. But to people who need to standup and build an MVP in a weekend there’s nothing that allows you to do it as fast.