On 20 October 2010 16:11, Marnen Laibow-Koser <[email protected]> wrote: > Colin Law wrote in post #955764: > [...] >> Actually it is obvious, look carefully at the Role Name line. What is >> it supposed to mean? >> >> Clue : and ' do not usually go together like that. > > Wrong. :'Role Name: ' is perfectly legitimate syntax -- it's the way > you type symbol literals that contain characters that aren't allowed in > Ruby identifiers. The meaning is more or less the same as 'Role Name: > '.to_sym .
Well, I never new that you could do that, one lives and learns (for the moment anyway). Thanks, Marnen. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

