Patch is in. Please check it out and see if you like enough some +1's.
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/39-add-blocks-to-ar-create-and-update
It will add this goodness:
people = [{:name => 'Jeremy'}, {:name => 'Ken'}, {:name => 'Jan'},
{:name => 'Ian'}]
Person.create(people) do |p|
p.set_status :cool
p.thanked = true
end
Cheers,
Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---