Ask HN: Best way to learn Ruby on Rails?
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 ><). I need to learn all those to build a decent well-rounded app.
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.
13 comments
[ 4.6 ms ] story [ 40.8 ms ] threadOnce you have some idea then you can go ahead with this. http://railstutorial.org
In addition, watch the webcasts
http://railscasts.org
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.
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.
Was learning on version rails 3.1, but now that rails 3.2.5 is out too many things have changed.
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.
However I agree with the other commenters that you should absolutely learn HTML, CSS, and JS first. There's no point digging into Rails until you know these basic technologies...
You could take a look at the following a my friend and I (new to Rails) built using Ruby on Rails: http://supernotes.herokuapp.com/ for our school friends in a few days. It's still quite bare, with little JS or AJAX but that's because we're studying for our exams now.
I might have to learn the ruby first too. Seems quite key when i want to build my custom .html.erb pages.
Obie sent me the print version of his book, I'll probably take a look at it. Though in his email he considered it to be "more of an intermediate book".