From: aidy Date: 2010-01-15T06:36:58+09:00 Subject: Re: hash /expecting tASSOC/ On 14 Jan, 21:28, Phillip Gawlowski wrote: > On 14.01.2010 22:20, aidy wrote: > > > Hi, > > > Can any tell me why I am getting the error: "syntax error, unexpected > > '=', expecting tASSOC" for the below hash please? > > > tem_urls = { > >   :home_page =>  website_root , :rm_footage => > > "#{website_root}/gallery/home/rightsmanaged.do", > >   :rushes =>  "#{website_root}/gallery/home.do", :rt_footage > > ="#{website_root}/gallery/home/royaltyfree.do" > >   } > > :rt_footage ="#{website_root}/gallery/home/royaltyfree.do" >             ^^^ > The last key-value pair is "just" an "=", and not the expected "=>". > > -- > Phillip Gawlowski Apologies for being an idiot