Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: What's the best way to start with Ruby on rails?
3 points by bn-l 6 months ago | hide | past | favorite | 7 comments
I'm new to ruby and ruby on rails. Are there any devs here experience with both that could recommend a resource? A book, youtube series etc?

It would be really great if someone could recommend an overview of the language so I can get an idea of the syntax, and the syntax of your average rails app.

Finally I want to pair this with inertia.js. Has anyone done this in production? Does the combo work well?



Agile web development with rails by Sam Ruby is a great intro to Ruby and rails.

The Ruby on rails channel on YouTube has a playlist explaining all the new components of rails 8 called rails 8 unpacked. Things like solid queue/cache and propshaft.


Great advice. I’d follow up with Sustainable Rails[1] once yiu get the basics.

The Polished Ruby book is also really good IMHO[2].

1. https://sustainable-rails.com/

2. https://www.packtpub.com/en-us/product/polished-ruby-program...


If you had to choose one to start would it be Sustainable Rails or Agile Web Development with Rails 8?


Hmm, good question. I think I'd probably start with Agile Web Development with Rails 8.

It's the book I learned originally Rails with more years ago than I care to remember (pre version 1!).

Sustainable Rails is really more about how build bigger projects over the longer term.

i.e. good practice for reducing the churn on model files when you have a larger teams or how to do things with a miniumum of external dependencies.

It's great stuff but you can probably pick that up later if you want to.

BTW I just saw this in browser tutorial from learning Rails[1]. I've not run fully through it but it looks really promising to me.

1. https://news.ycombinator.com/item?id=44574654


The official RoR docs are really good. And the Ruby docs also have a Getting Started guide which seems fine.


I've been trying Rails again thanks to Lex and DHH podcast. The official docs are good but have some obvious errors in the code snippets, that were not obvious to me until I asked AI to explain.

Also I was reading the free chapters of the "Ruby on Rails Tutorial" but it still refers and suggests using AWS Cloud 9 which no longer allows new users, since 2024... I emailed the author but they have not replied. At $39 per MONTH it seems a bit much for such an obvious oversight. Seems borderline gauging to me to pay $39 just for the eBook, it is not for sale otherwise AFAIK. And to have the first chapter about getting set up to reference something that has been outdated since July 25th of 2024 does not leave a good impression for me.

https://aws.amazon.com/blogs/devops/how-to-migrate-from-aws-...

I'm not a cheap sob, I will pay for content and books. But when the free content is already out of date... I don't hold much hope for the premium content and chapters at $39mo.


Exactly that podcast episode got me interested also!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: