On 2 September 2013 21:10, Dan Distraff <li...@ruby-forum.com> wrote: > ... > beer = Hash[:name => "individual beer"]
That should be beer = {:name => "individual beer"} or beer = HASH["name", "individual beer"] See http://www.ruby-doc.org/core-2.0.0/Hash.html#method-c-5B-5D > style = Hash[:beers => beerArray, :name => "beer style", > :description => "This is a beer style."] Same again Colin -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvyFnwr1Hxu0VCXJZqs7Ju25mczPOJJt5A0UfnPm-8rEg%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.