Stack Overflow is a community of 4.7 million programmers, just like you, helping each other.

Join them; it only takes a minute:

Sign up
Join the Stack Overflow community to:
  1. Ask programming questions
  2. Answer and help your peers
  3. Get recognized for your expertise

I have been interested in learning Rails for some time now and feel now is as good as time as ever to dip in and actually get my hands dirty. I've spent the past week reading every free ebook on Ruby and Ruby on Rails I can find. I just finished reading Ruby Essentials. I have also been playing with http://tryruby.hobix.com/

I have installed Ruby, Rails, MySQL, PHP, phpMyAdmin on a Windows XP machine, I also have access to a Ubuntu machine.

I come from several years of PHP experience and around a year using CodeIgniter.

What I would really like now is a fairly basic Rails app that is a little more in depth than Hello World but not quite up to par with say a forum or blog.

I find its much easier to learn how something works when I can play with already made code and do some trial and error changes.

What I am really looking for is that 'Ohhh, I totally understand now!' moment I had when I first started learning PHP.

Does anyone have an app or know of one that could possibly provide that moment?

share|improve this question

closed as off-topic by Will, Bill the Lizard Aug 20 '13 at 15:44

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – Will, Bill the Lizard
If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 3 down vote accepted

Check out the screen casts on Rails at BuildingWebApps . I've watched several and they have been exactly what I was looking for when learning rails. They start simple and keep adding more and more functionality. The commentators move at a good pace and subscribing to the lessons is free.

share|improve this answer
    
I subscribed and confirmed, but don't seem to have access. – Jayrox Apr 1 '09 at 3:21
    
Try going to buildingwebapps.com/learningrails Usually you will start getting emails about the episodes. – Pete Apr 1 '09 at 5:36
    
This seems to be exactly what I was looking for. Thanks – Jayrox Apr 14 '09 at 7:20
    
learningrails.com will take you to the same site. – Nathan Long Jul 14 '09 at 15:06

If you want something that is built already build the sample application that comes with Agile Web Development on Rails, buy the pdf from pragprog.com, the latest version is set to work with Rails 2.2, so will work with 2.3 as all the basic features of the framework will be the same.

When you are ready to move on from that, the Rails Guides website is all new and is a great resource for all developers new and old.

dwc is right though, a blog is a good thing to start on your own, so when you are confident give it a go, even if you don't put it in production it will help you along.

share|improve this answer
    
I'm not really planing on putting anything into production for a while. Right now I just want to actually get into system and make it do things. – Jayrox Apr 1 '09 at 1:04
    
This book will get you started well, after the tutorial build, it has sections on the different sections of Rails, ActiveRecord, ActiveSupport etc so you can get a feel for what different things are done by which part of the Rails stack. It was the book that I started with, but earlier version. – nitecoder Apr 1 '09 at 1:21

I would recommend railsforphp.com. They have a PHP to Ruby reference which could be quite helpful.

You can also buy the 'Rails for PHP Developers' book as either a paper or digital copy (or both if you really want to). The book is full of examples that show the PHP way and how it compares to the Ruby/Rails way.

As for ready made code, I suggest having a play with Enki. It is a somewhat bare-bones blogging system that should give you a good testing ground.

share|improve this answer

You should rethink your idea that a blog is too complex. At it's simplest a blog is a textarea and a submit button, and then storing and regurgitating the results. Start with that to get your hands dirty, then add features as you go. In fact, why not practice some Agile and do your own iterations?

share|improve this answer

The Rails Guides are nice http://guides.rubyonrails.org/

share|improve this answer

If you don't like the blog idea, you could make a wiki, this isn't very complex either. you simply need a edit button on every page with the text from the linked to it. This will teach you how to handle rails and play with ruby for things like regular expressions and such.

Take your time, break down these problems and and they should be easy for you to solve with rails.

And go on IRC (server freenode channel #rubyonrails) you can use MIRC for that. Ask questions there, I usually am there, (look for nims).

share|improve this answer

My suggestion would be to start with a simple CMS. This is something you can continue to use and expand as your skills progress and you start other more complicated projects. In the most basic form, this consists of a Page model, and a Topic model. You could then add a User model, some login capabilities and a simple admin interface. After all, Rails was originally envisioned to make it easy to CMS type sites.

As you get this up and running, you can add some plugins to extend the functionality to include tagging, comments, and more. Or you can roll these capabilities yourself.

Set up an account on Github and learn how to use Git. Its great, and better than what you used before (if anything.) You should also learn rake, and capistrano, as these are huge timesavers and work hand in hand with Rails and Github.

share|improve this answer
    
I have actually been using git locally for my past and present PHP scripts. – Jayrox Apr 1 '09 at 4:42

Not the answer you're looking for? Browse other questions tagged or ask your own question.