Live data from Hacker News

Ask HN: Best way to learn Ruby on Rails?

news.ycombinator.com

1–10 of 14 posts

Ask HN: Best way to learn Ruby on Rails?

#1
Recently dived into Ruby on Rails, with no prior experience of ruby. Only some background in C++,C, php and the likes.

I'm still juggling between learning RoR, CSS, javascript and hacking at vim, and it's really difficult to do so since I still have to focus on my studies (i'm still 16 >Any suggestions on where to start? It's not like I'm short of time so a long-winded but good way to build a strong foundation would be good.

Re: Ask HN: Best way to learn Ruby on Rails?

#4
So, before you start with learning Rails, I recommend learning HTML/CSS. It shouldn't take more than two weeks to get a basic understanding, and by doing that you avoid the huge hassle of building a web app while barely scraping by with the formatting. Also, you might want to drop both learning javascript and vim, because you can build a solid web app without js, and it's very hard to learn multiple dissimilar things at once.

After that, a great resource is http://railsforzombies.com/, and codeschool in general. It's a series of incredibly well made video presentations, which you are then tested on. Once/before you finish that, you should work on actually building an application, maybe following http://railstutorial.org/.

Once you have finished that, you are well on your way to proficiency, and probably have enough understanding of rails to build your application. Some great resources are http://guides.rubyonrails.org/index.html, http://www.codeschool.com/courses/rails-for-zombies-2, and http://api.rubyonrails.org/.

If you have done that, and you still want to learn more, then I would learn more about javascript, and read The Rails 3 Way:http://www.amazon.com/exec/obidos/ASIN/0321601661/zenruby-20.... Finally to learn more about Ruby, read Eloquent Ruby: http://www.amazon.com/Eloquent-Ruby-Addison-Wesley-Professio....

Once you have done that, you should have a pretty solid grounding in Ruby, Rails, and web development in general.

Re: Ask HN: Best way to learn Ruby on Rails?

#7

Fourthing Michael Hartl's Rails Tutorial book/screencasts. Great material.

I'd second this, but it's difficult to follow it without the screencasts, that has to be purchased. I've been trying to follow the web version of this though. Not too bad.

Was learning on version rails 3.1, but now that rails 3.2.5 is out too many things have changed.

Re: Ask HN: Best way to learn Ruby on Rails?

#8

So, before you start with learning Rails, I recommend learning HTML/CSS. It shouldn't take more than two weeks to get a basic understanding, and by doing that you avoid the huge hassle of building a web app while barely scraping by with the formatting. Also, you might want to drop both learning javascript and vim, because you can build a solid web app without js, and it's very hard to learn multiple dissimilar things…

I've went through rails for zombies. Second thing i went through after poignant.

Was following Nettuts suggested method: http://net.tutsplus.com/tutorials/ruby/the-best-way-to-learn...

Incidentally I met Obie Fernandez in person :D at the Red Dot Ruby Conference in Singapore he sent me a pdf version of his book :D

I'll try out eloquent ruby, maybe after the pickaxe.

Re: Ask HN: Best way to learn Ruby on Rails?

#9
Go through Michael Hartl's Rails Tutorial then pick something you want to make and struggle through it.

My first project was a golf statistics/handicap site. (http://www.golfingstat.com) It took me a ton of time and it was super frustrating at times but I learned a shitload just running into a brick wall and googling/posting on StackOverflow to find answers.

Post reply on HN