From: "John W. Long" Date: 2004-06-10T12:46:09+09:00 Subject: Re: [ANN] Active Record 0.8.3: Modules, mapping, and transactions David Heinemeier Hansson wrote: > * Create new Active Record objects by setting the attributes through a > block. Like this: > > person = Person.new do |p| > p.name = 'Freddy' > p.age = 19 > end Why is the better than: person = Person.new( 'name' => 'David', 'age' => 12 ) -- John