Tuesday, March 06, 2007

:Derailed on Ruby tracks

Well if you have been trying to figure your way around ruby on rails and have been wondering what the so called :action's and :controllers and :id's are.

and Why do you need them in the code for?
and What do they do? etc etc. You have come to the right place.

Firstly these are called Symbols. And many have tried to explain the concept of symbols and have failed quite miserably.

Alas!! Its not me thats going to solve the mystery here for you. But yes I am going to show you the path : http://glu.ttono.us/articles/2005/08/19/understanding-ruby-symbols


A neat little blog by Kevin Clark that finally clears the air a little.

Cheers

No comments:

Post a Comment