TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Best way to learn Ruby on Rails?

11 pointsby jethrokuanalmost 13 years ago
Recently dived into Ruby on Rails, with no prior experience of ruby. Only some background in C++,C, php and the likes.<p>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 &#62;&#60;). I need to learn all those to build a decent well-rounded app.<p>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.

8 comments

michael_finealmost 13 years ago
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.<p>After that, a great resource is <a href="http://railsforzombies.com/" rel="nofollow">http://railsforzombies.com/</a>, 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 <a href="http://railstutorial.org/" rel="nofollow">http://railstutorial.org/</a>.<p>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 <a href="http://guides.rubyonrails.org/index.html" rel="nofollow">http://guides.rubyonrails.org/index.html</a>, <a href="http://www.codeschool.com/courses/rails-for-zombies-2" rel="nofollow">http://www.codeschool.com/courses/rails-for-zombies-2</a>, and <a href="http://api.rubyonrails.org/" rel="nofollow">http://api.rubyonrails.org/</a>.<p>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:<a href="http://www.amazon.com/exec/obidos/ASIN/0321601661/zenruby-20/ref=nosim/" rel="nofollow">http://www.amazon.com/exec/obidos/ASIN/0321601661/zenruby-20...</a>. Finally to learn more about Ruby, read Eloquent Ruby: <a href="http://www.amazon.com/Eloquent-Ruby-Addison-Wesley-Professional-Series/dp/0321584104" rel="nofollow">http://www.amazon.com/Eloquent-Ruby-Addison-Wesley-Professio...</a>.<p>Once you have done that, you should have a pretty solid grounding in Ruby, Rails, and web development in general.
评论 #4093134 未加载
thejerzalmost 13 years ago
I highly recommend The Rails Way by Obie Fernandez. If you have some background in C++, C, and PHP, this book will suit you well.<p>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...
评论 #4122180 未加载
lightspotalmost 13 years ago
<a href="http://ruby.railstutorial.org/" rel="nofollow">http://ruby.railstutorial.org/</a> is a good place to start
bbrownalmost 13 years ago
I'm not being sarcastic I swear, but just do it, your brain will catch up. That's how I learn 99% of any thing I study. I'm not saying reading and soaking in information isn't vital, but practice makes perfect they say.
评论 #4121724 未加载
tnorthcuttalmost 13 years ago
Fourthing Michael Hartl's Rails Tutorial book/screencasts. Great material.
评论 #4093124 未加载
VeejayRampayalmost 13 years ago
Rails 3 in Action is a great book.
cmaxwellalmost 13 years ago
Go through Michael Hartl's Rails Tutorial then pick something you want to make and struggle through it.<p>My first project was a golf statistics/handicap site. (<a href="http://www.golfingstat.com" rel="nofollow">http://www.golfingstat.com</a>) 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.
biopharma_guyalmost 13 years ago
Start with this. <a href="http://guides.rubyonrails.org/getting_started.html" rel="nofollow">http://guides.rubyonrails.org/getting_started.html</a><p>Once you have some idea then you can go ahead with this. <a href="http://railstutorial.org" rel="nofollow">http://railstutorial.org</a><p>In addition, watch the webcasts<p><a href="http://railscasts.org" rel="nofollow">http://railscasts.org</a>