I would like to be able to read Rails source code, but I think I can't really do it, because I don't know were to start and how different parts of the code are connected. For example, it's obvious what ActiveModel does and I can read the code, but I don't understand how a Rails app generally gets loaded and when exactly ActiveModel comes to play and which part of rails invokes it.
I'm not talking about this general stuff people say in manuals that first Rack gets loaded, then Rails is a rack app... No. I want something more detailed, so that I could actually look up every step in the code. So I guess some sort of chart explaining how rails app gets loaded and maybe a note to each of the subdir, saying where those files are used, what they do and where on the load chart they do load would be nice.
Any tips on that?