Topic: Colon Symbol- i don't get it all

I have seen : (colon symbol) being used manyways. I do not quit get it all of them. The Rails uses them a lot too. Can some expert explain what are the uses of colon operator?

Thanks in advance,

Re: Colon Symbol- i don't get it all

Symbols are pretty much just Strings, except that a certain Symbol only takes up one memory address.  Because Ruby is so dynamic, you can you strings in many places to define arguments or pull things out of Hash.  However each instance of a string has it's own memory address.  So we use Symbols for things like defining Hashes, to save on memory.

It's also just nice to differentiate between things that are variable (String), and things that are probably defined (Symbols).