I guess it is the new hash notation. Not sure which version of Ruby implements it ( > 2.0 ?)
2014-03-07 15:32 GMT-03:00 Jedrin <[email protected]>: > so this is valid syntax then, I never realized that > > {mykey: 'xx''} > > => {:mykey=>"xx"} > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/86b05b0a-b6c3-4294-be98-c55414df0b68%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/86b05b0a-b6c3-4294-be98-c55414df0b68%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Att, Antônio Augusto de Sousa Britto - 43ª turma de Ciência da Computação - UFU -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAK6FffJU9KmCNZWFg_vwLCKLm0ub-JTBs4m8TCNYS%2BUCxP7cFg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

