Learning Ruby and Ruby on Rails
Below are some tutorials that I've found useful for learning Ruby and Ruby on Rails. Since it can sometimes be difficult to know where to start when learning something new, I've ordered the tutorials into steps that should help ease you in.
Step 1
Get a taste of the Ruby language. (They'll make the tutorials in step 2 easier to understand.)
- Simple Ruby Syntax
- Programming Ruby - The Pragmatic Programmer's Guide
- Learning Ruby
- why's (poignant) guide to ruby. (The author seems to be insane, but that's OK.)
Step 2
Next, read these to get started with Ruby on Rails:
- Using Ruby on Rails for Web Development on Mac OS X
- Rolling with Ruby on Rails, Part 1
- Rolling with Ruby on Rails, Part 2
There'll be some mention about the Model-View-Controller architecture. If you're unfamiliar with the concept, read Mark Pilgrim's article or the Model-View-Controller entry on wikipedia
Step 3
At this point, you'll probably want to dig into more detail (I did). Four Days on Rails is just what's needed.
More detail
- Understanding Ruby blocks, Procs and methods
- Closures And Blocks
- A Ruby HOWTO: Writing A Method That Uses Code Blocks
- Understanding Ruby Procs, Blocks and Methods
- Ruby Symbols
- Defining your database schema with migrations
- Using Migrations
- Ruby-Doc.org - Help and documentation for the Ruby programming language.
- RubyNuby - Ruby Garden's page for Ruby newbies
- Ruby Quick Reference
- Example Design Patterns In Ruby
- Ruby Cookbook
- Top 30 Ruby on Rails Tutorials
Installing Ruby on Rails
- Locomotive - "Ruby on Rails development done the Mac way"
- Installing Ruby on Rails on a shared web host
- Installing Ruby on Rails, Lighttpd & MySQL on Fedora Core 4
- Installing Ruby on Rails for non-root users
- Installing Ruby on Windows and Solaris