views:

314

answers:

6

So like many people, I'm excited about Ruby on Rails. Being a Windows user, I downloaded InstantRails, got it going, and followed along with the screencast on how to make a blog with RoR 2.0 in fifteen minutes. I used Notepad++ as my text editor, because that's what I've traditionally used for writing the PHP-based websites I've done in the past. I was a little envious of Mac users and how they get the really attractive-looking TextMate, but I managed to follow through the entire screencast and get everything working smoothly.

However, I was lost most of the time.

I know plenty of programming and scripting languages over the years - C++, JavaScript, PHP, HTML, and Lua just to name a few. I don't know Ruby, but I understand a lot of how it works, as far as the syntax is concerned, but I don't understand a lot of the logic behind why certain files do certain things, and that sort of thing.

Also, I tried Aptana with RadRails, but found it difficult to set up. Is there any concrete tutorial for getting it set up and working fully with Ruby on Rails 2.0?

Should I maybe just wait for more RoR 2.0 tutorials to come out before attempting to learn RoR? Or should I just plow on through and experiment until I figure it out?

+2  A: 

Pragmatic Programmer's Agile Web Development with Rails is an excellent book to get started with.

There is a RoR 2.0 BETA book available as well.

Hates_
+3  A: 

Also you may want to look into NetBeans, it has great support for ruby and rails. They also provide several focused tutorials and even viedos.

http://www.netbeans.org/kb/trails/ruby.html

Another excelent source of focused tutorials is http://railscasts.com/ by Ryan Bates.

On the ruby side, I strongly recommend The Ruby Way, and if you are into screencasts, the Pragmatic Programmers have some cheap and excelent ones on ruby object model and metaprogramming by Dave Thomas.

krusty.ar
+1  A: 

The Rails Way is also a good book. I use it everyday as a reference book.

Cygwin98
A: 

From what I've read, though, it looks like many of these books and such are now at least partially outdated with the advent of Rails 2.0. Is this true?

Unniloct
Check out the beta book I linked too in my answer :)
Hates_
+1  A: 

You could always check out the awesome Peepcode screencast series:

Rails 2 from scratch part I

Rails 2 from scratch part II

You'll be off and running in no time after watching those. I would also recommend Railscasts, a (free) weekly screencast on Rails, usually focusing on a single feature or implementing a concept in a wonderfully produced manner.

mwilliams
+1  A: 

If you are really serious about learning Rails, my advice is to get a good book and read it (I know.. programmers don't read books, but you should!). A "good book on Rails" usually contain a chapter on Ruby, but there are plenty of resources on the web to get you going.

According to Ruby on Rails guides:

It is highly recommended that you familiarize yourself with Ruby before diving into Rails. You will find it much easier to follow what's going on with a Rails application if you understand basic Ruby syntax. Rails isn't going to magically revolutionize the way you write web applications if you have no experience with the language it uses.

I'm personally using Simply Rails 2, which uses (surprise, surprise) Rails 2. It walks you through the development of a Digg clone.

If you still don't wanna use a book, you should check out Ruby on Rails guides and the Ruby on Rails Wiki. AFAIK, They are being regularly updated to keep up with new releases of Rails.

Yaser Sulaiman
Programmers don't read books? I guess I missed that lesson early on in life :)I'll look into the Rails 2.0 BETA book that someone else posted, though. Thanks!
Unniloct