From: Daniel Talsky Date: 2007-09-28T17:13:20+09:00 Subject: how to do "do" blocks How come this works: collection_of_objects = [] 10.times do collection_of_objects << MyObject.create end But this doesn't: collection_of_objects = [] 10.times do { collection_of_objects << MyObject.create } I didn't understand there was ANY difference between the two syntaxes really. Can someone explain to me the finer points? -- Posted via http://www.ruby-forum.com/.