From: Ryan Leavengood Date: 2005-12-05T02:51:39+09:00 Subject: Re: When to use : before variables? Look up Symbols. The colon (:) is used to create them. The basic idea is that if you are using a String as the key or value for a hash in many places, it is more efficient to use a Symbol. Ryan On 12/4/05, Daniel V�lkerts wrote: > Hi out there, > > after looking at rails and the pickaxe book (not totally red yet, just > used as a reference) I still wondering when to use just a construct > > :a => something > > What does it stands for and when to use it? Please apologize if it's a > basic questions, but I can't realize myself the usage. > > If someone has a page no. in the pickaxe book, I'm glad to read the > chapter ;)