Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I've just finished the first rails tutorial and now want to learn something about how other developers use it. So is it possible to "read" rails web applications to learn about its architecture and design?

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

One of the better ways I've found to really get into the "meat" of a Rails app is to go to Github and find some of the Rails demo/example applications that people put up there; there are even some fully-featured applications (FatFreeCRM comes to mind) but be aware these are usually anything but simple and I would not recommend a beginner who just has an intro tutorial under their belt to dive into, say, FatFreeCRM. There should be a plethora of similar but lighter-weight apps floating around Github; just as others have said be mindful of the date/version they were using as a lot has changed in Rails in the various versions.

Try to find an application that has a full suite of tests (or specs), so you can at the least follow the tests to get an overall approach of the application, and this will also train you for a career as a professional Rails developer as if you were brought onto an existing Rails app as a new developer, chances are you would "learn the guts" of the app by reading through the tests/specs.

share|improve this answer
    
thanks, great answer –  Sergey Sep 10 '11 at 3:24
add comment

I am not sure exactly what you mean, but if you didn't do this tutorial, I would highly recommend this: Ruby on Rails Tutorial

You build an application and learn a lot of details on how to think about the application.

share|improve this answer
    
I've already read this book and I'm searching for some examples of other apps. –  Sergey Sep 10 '11 at 3:22
add comment

It's certainly a good idea to read other people's code, and you will probably be able to understand most of what a Rails app does, but also beware of picking up bad habits or out-dated approaches.

share|improve this answer
    
thanks, but you did say nothing about "how" to do it –  Sergey Sep 10 '11 at 3:24
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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