[Rails] Re: script or utility to transform a string w embedded spaces into a sym

2011-04-19 Thread Erwin
thanks , part of the solution as per Michael's patch On 19 avr, 00:38, Philip Hallstrom wrote: > On Apr 18, 2011, at 3:09 PM, Erwin wrote: > > > I need to transform strings like "Instructor ID"  or "Lovely Ice tree" > > into sym  :instructor_id  , :lovely_ice_tree > > I tried to do the following

[Rails] Re: script or utility to transform a string w embedded spaces into a sym

2011-04-19 Thread Erwin
Thanks , I'll use this patch .. On 19 avr, 07:53, Michael Pavling wrote: > On 18 April 2011 23:09, Erwin wrote: > > > I need to transform strings like "Instructor ID"  or "Lovely Ice tree" > > into sym  :instructor_id  , :lovely_ice_tree > > > is there a better and faster way to do it ? > > I ha