Sunday, March 23, 2008

Great explanation of Rails auto-loading

I thought Mark Bush did a great job of explaining Rails' auto-loading behavior on the Rails-talk mailing list.  I'm posting it here to help others find it, and so I remember where to find it next time I'm struggling with it.  I've known that Rails automatically requires and loads classes on the fly using standard conventions for module names -> file names, but I had a hard time grasping how it worked.  Mark explains it very concisely.

The Rails list has a low signal-to-noise ratio but it's still worth paying attention to for gems like this.

1 comment:

Anonymous said...

and as
he walked along he wept several tears of sorrow and regret. These
tears ran slowly down his face and over the hinges of his jaw, and
there they rusted. When Dorothy presently asked him a question
the Tin Woodman could not open his mouth, for his jaws were
tightly rusted together.

Nike shoes
supra footwear
famous footwear
shoe dept
nike air max