# Does anyone know where I could find a good explanation of how rails works internally?

**URL:** <https://www.ruby-forum.com/t/does-anyone-know-where-i-could-find-a-good-explanation-of-how-rails-works-internally/136528>\
**Category:** Rails\
**Created:** [May 3, 2008, 2:08am UTC](https://www.ruby-forum.com/t/does-anyone-know-where-i-could-find-a-good-explanation-of-how-rails-works-internally/136528 "2008-05-03T02:08:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 3, 2008, 2:08am UTC](https://www.ruby-forum.com/t/does-anyone-know-where-i-could-find-a-good-explanation-of-how-rails-works-internally/136528/1 "2008-05-03T02:08:43Z")

</div>

I was wondering if anyone knew of some resources I could look at to  
learn about how rails works internally. I’ve been looking through the  
code but I was wondering if there were any high level explanations of  
how it works overall.

Thanks in advance,  
Ruben

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 3, 2008, 6:16am UTC](https://www.ruby-forum.com/t/does-anyone-know-where-i-could-find-a-good-explanation-of-how-rails-works-internally/136528/2 "2008-05-03T06:16:04Z")

</div>

Read “Ruby for Rails” by our good friend David Black.  
After reading tons of other books (like 2500 pages) and doing the  
AWDWR example 3 or 4 time and still not “getting it”, I read David’s  
book and the waters calmed.  
It explains a heck of a lot about what is really happening behind the  
magic of Rails. I can’t say enough good things about this book.  
Also you really need to learn ruby without rails. I like “Everyday  
scripting with ruby”, but it is rather centered on testers and not  
necessarily rails testing.

Good luck

On May 2, 5:08 pm, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 3, 2008, 6:26am UTC](https://www.ruby-forum.com/t/does-anyone-know-where-i-could-find-a-good-explanation-of-how-rails-works-internally/136528/3 "2008-05-03T06:26:35Z")

</div>

_The Rails Way_ is pretty technical, that’s what I’d recommend.

Nicholas

On May 2, 7:08 pm, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [May 3, 2008, 6:40am UTC](https://www.ruby-forum.com/t/does-anyone-know-where-i-could-find-a-good-explanation-of-how-rails-works-internally/136528/4 "2008-05-03T06:40:01Z")

</div>

I also hear “The Rails Way” is good. It is next on my list. It is for  
Rails 2.0
