3 ms·
Simple litmus. Ask ChatGPT to create a basic Rails app that has authentication, routing, and a dashboard page only accessible after login. Then ask ChatGPT to
by ryanSrich 3y ago
Simple litmus.
Ask ChatGPT to create a basic Rails app that has authentication, routing, and a dashboard page only accessible after login.
Then ask ChatGPT to do the same thing, but with any other language/framework.
- andrewstuart 3y agoSo 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?
- imetatroll 3y agoIt isn't batteries included sign up. You have to select a 3rd party lib for that (a gem).
- gedy 3y agoYeah 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.
- frankwiles 3y agoDjango 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.
- ryanSrich 3y agoNo. 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.