From: gaurav bagga Date: 2006-12-21T14:20:54+09:00 Subject: Re: Symbols vs Strings ------=_Part_2738_21542449.1166678451618 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline hi, with symbol you will have one instance of it eg: if yo are using :jack many times in a code it will always represent one single object you can see it in irb with :jack.object_id and calling this many times you will get same id. with "jack" each time you use you create a new instance of it with "jack".object_id you get new id each time which shows a new object. so in cases where you need single representation you should use symbols. regards gaurav > ------=_Part_2738_21542449.1166678451618--