HACKER Q&A
📣 jakearmitage

Coming back to Web/Ruby/Rails since 2012. Help?


I stopped working with Ruby/Rails in 2012. I think the last version I worked with was 3.1. Since then, I've been mostly focused on low-level things and C/C++. Getting back on the web horse now and I feel quite lost:

1) Is Rails still the best choice for a PIM-like web-based system? 2) Is Rails still popular and the defacto standard of the Ruby community? 3) What's the current best practice for running production? Passenger + Nginx?


  👤 mtmail Accepted Answer ✓
Welcome back.

It's still the best choice in the Ruby world, well maintained, responsive and new features added. Shopify and github use it, you might want to look at the Rails 6 annoucements what these companies added for scalability features. There've been changes to the asset pipeline since version 3 but you'll still recognize it. You can run Rails as API-only and there's subprojects/tutorials for combining a frontend-heavy React,Vue with a Rails backend. You can still ignore the webpack based asset setup unless you use React,Vue I think. Ruby-3 works fine though I'm still waiting for some less-maintained gems to finally merge PRs, maybe you want to use Ruby-2.7 first.

I use https://puma.io/ , that scales well enough for me. https://github.com/socketry/falcon#readme is faster with build-in HTTP/2 support but harder to setup in my opinion, e.g. requires SSL certificate even on localhost.


👤 joelbluminator
Hey guy. I'd recommend going to ruby / rails subreddits or perhaps this community page https://discuss.rubyonrails.org , quite a lot of rubyists u can chat with there.