Re:Choosing Ruby on Rails for web development project in 2019
by conanbatt on Wednesday May 29, 2019 @10:21AM
(#20040496)
I hadn't done rails in a while when I brushed up on it, and found Turbolinks to be a game changing addition.
SPA's just require way too much work and fine-grained detail for starter applications. I would not recommend to do full-stack node over rails if you care about iteration speed early on.
Re:Choosing Ruby on Rails for web development project in 2019
by fouc on Wednesday May 29, 2019 @10:55AM
(#20040898)
I did Rails + Mithril.js (5kb react-like SPA) and then switched to Rails + Turbolinks + a mix of vanilla js, stimulus.js, and abusing ajax & js.erb.
The biggest things I miss from the original setup:
1) it's easy to write integration tests when rails is nothing but an api
2) components. it's just way easier & nicer to work with than rails views/partials.
I thought rails + turbolinks + stimulus etc would be simpler in terms of code/maintainability, but I'm not so sure anymore.
Recently we decided to switch back to using Rails + Turbolinks + Stimulus.js and the development speed and experience have been so much better.
It's disheartening to hear so few young people are using Rails. In my 10+ years experience, I always get drawn in by the new hot thing but always end up finding my way back to Rails for the better.