News for hackers. Stuff that matters.

Ask HN: What's the best way to learn Ruby/Rails?

After coding web apps in PHP/CodeIgniter and Python/Django/Flask, I now want to give Ruby/Rails a try(just for sake of learning as I'm quite happy with django for most of my projects).

So I would like to know what is the best way to get started with both ruby and rails? Which books, tutorials, sites you would suggest for learning ROR?

( 11 comments | 10 points | on HN )
Re:Ask HN: What's the best way to learn Ruby/Rails? by stollercyrus on Sunday July 08, 2012 @01:53AM (#4213804)
You should checkout Michael Hartl's http://ruby.railstutorial.org/ and Ryan Bates's http://railscasts.com/
Re:Ask HN: What's the best way to learn Ruby/Rails? by countessa on Monday July 09, 2012 @06:04AM (#4217412)
For a quick intro to Rails, you can't go wrong with: http://guides.rubyonrails.org/getting_started.html

Follow that up with Michael Hartl's already suggested book for a more in-depth walk through building an app.

I wouldn't suggest Hartl's work if you just want a feel for it before you commit time to learning Rails proper because he does take you through a lot of git use and tdd before you get to the nitty-gritty of building your application. It's very thorough, but won't give you the immediate buzz of whipping up an app.

Re:Ask HN: What's the best way to learn Ruby/Rails? by briandear on Sunday July 08, 2012 @02:40AM (#4213901)
In addition to the Hartl screencasts and book, I would recommend CodeSchool's Rails for Zombies 2 course. Pretty useful when combined with other resources.
Re:Ask HN: What's the best way to learn Ruby/Rails? by Squanto on Sunday July 08, 2012 @02:02AM (#4213821)
http://ruby.learncodethehardway.org/book/ was a godsend for me learning Ruby (and OOP in general).

This link: http://net.tutsplus.com/tutorials/ruby/the-best-way-to-learn... is a strong starting point for rails.

Re:Ask HN: What's the best way to learn Ruby/Rails? by janogonzalez on Sunday July 15, 2012 @10:08PM (#4248991)
First, get familiar with the language solving all the Ruby Koans http://rubykoans.com

Then go through the Rails Tutorial http://railstutorial.org

Finally, read Eloquent Ruby by Russ Olsen and The Rails 3 Way by Obie Fernández

Re:Ask HN: What's the best way to learn Ruby/Rails? by olegious on Monday July 09, 2012 @04:52AM (#4217271)
For me the biggest issue has been learning how to deploy apps onto my Linode server. I have no problems creating local apps, still haven't figured out what I'm doing wrong with deployment to production.
Re:Ask HN: What's the best way to learn Ruby/Rails? by brianritchie on Wednesday July 11, 2012 @05:30PM (#4231605)
You could give Capistrano a try. Works wonders for deployments
Re:Ask HN: What's the best way to learn Ruby/Rails? by ashconnor on Sunday July 15, 2012 @05:03PM (#4248116)
I definitely recommend watching this Railscasts for info on deploying: http://railscasts.com/episodes/335-deploying-to-a-vps
Re:Ask HN: What's the best way to learn Ruby/Rails? by gyardley on Sunday July 08, 2012 @06:02AM (#4214223)
In addition to the other resources in this thread, I'm also finding the Ruby Koans (http://rubykoans.com/) useful for drumming syntax into my head.
Re:Ask HN: What's the best way to learn Ruby/Rails? by omoijuanfo on Thursday July 12, 2012 @11:28AM (#4234998)
check out code school its pretty cool

http://www.codeschool.com/courses/try-ruby

Re:Ask HN: What's the best way to learn Ruby/Rails? by suyash on Thursday July 19, 2012 @08:18PM (#4268753)
attend the Ruby on Rails meetups