# Where to get help about the Rails framework structure

**URL:** <https://www.ruby-forum.com/t/where-to-get-help-about-the-rails-framework-structure/107346>\
**Category:** Rails\
**Created:** [June 20, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/where-to-get-help-about-the-rails-framework-structure/107346 "2007-06-20T19:04:15Z")\
**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:** [June 20, 2007, 7:04pm UTC](https://www.ruby-forum.com/t/where-to-get-help-about-the-rails-framework-structure/107346/1 "2007-06-20T19:04:15Z")

</div>

Hi, I would like to understand better how Rails work… I mean how the  
framework is structured.

For instance, what happens when an address is requested for Apache or  
Webrick or any other? Which application is called first? How are  
plugins  
loaded? In which order? What happens before what? How validations are  
handled? Where goes a ‘puts’ output in a controller’s action?

Are there any resources explaining how Rails is structure in this  
level of  
details? I could read the sources, but I would need to know where to  
start  
with. What is the main application in the framework. That one that  
loads  
environment.rb, routes.rb, plugins and so on…

Thanks,

Rodrigo.

---

<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:** [June 20, 2007, 9:02pm UTC](https://www.ruby-forum.com/t/where-to-get-help-about-the-rails-framework-structure/107346/2 "2007-06-20T21:02:33Z")

</div>

AWDwR has some discussion of this. For reading the source you  
probably want to read config/boot.rb and go from there.

-faisal

---

<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:** [June 20, 2007, 11:09pm UTC](https://www.ruby-forum.com/t/where-to-get-help-about-the-rails-framework-structure/107346/3 "2007-06-20T23:09:46Z")

</div>

Thank you, Faisal.

Rodrigo.

---

<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:** [June 21, 2007, 12:44pm UTC](https://www.ruby-forum.com/t/where-to-get-help-about-the-rails-framework-structure/107346/4 "2007-06-21T12:44:58Z")

</div>

Yes, I still find the need of a book which will explain in detail about  
the  
framework. As you get more experience you will come to know to the most  
of  
the framework structure. I am more interested in understanding how  
different  
server handles exceptions and threads.

Also I found that if we have puts in the controller actions. It affects  
the  
views rendered specially rjs views. I am still not clear about it.

Please do provide resources which have in detail framework information.

On 6/20/07, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Rodrigo.
> 
> >

– anil  
Don’t live to geek; geek to live.  
[http://anilwadghule.com/blog](http://anilwadghule.com/blog)
