News for hackers. Stuff that matters.
Re:From Node to Ruby on Rails by aeonflux on Thursday December 16, 2021 @09:20AM (#29578341)
I've worked with both Rails and Django extensively, finally I phased out Django few years ago. Can't really compare those anymore, since too much time has passed. Whats better about ORM and Migration? What so good about Django Rest Framework compared to rails-api?
Re:From Node to Ruby on Rails by m_ke on Thursday December 16, 2021 @09:32AM (#29578479)
I find the ORM API in django to be very clean, especially when combined with custom querysets. It also has great postgres support (https://docs.djangoproject.com/en/4.0/ref/contrib/postgres/).

The migration framework just works, I can't really compare it to rails because I haven't used rails in a long time.

DRF seems much more fully featured than rails-api, it comes with a browsable API and OpenAPI integration.

Re:From Node to Ruby on Rails by aeonflux on Thursday December 16, 2021 @09:46AM (#29578628)
You love Django, I get it. You wrote it its better than Rails in various aspects without actually having a clue about Rails. Thats neither professional nor informative.
Re:From Node to Ruby on Rails by m_ke on Thursday December 16, 2021 @10:04AM (#29578829)
I replied to "What does Django offer that you feel is an improvement over Rails?", the pluses and minuses that I listed are what I "feel" Django has over rails.

Again I don't mean to trash on Rails, it's a great framework and miles ahead of anything you'd find in the nodejs ecosystem.