Jakob S
Code artist · Not a member
Jakob S's latest activity
Sunday, April 03 2011
6665
Block syntax for update_attributes
was updated
in Ruby on Rails
-
Jakob S commented at 10:54 AM/pwned by Lighthouse code formatting :(
Attached revised patch with docs for the changes.
-
Jakob S created the ticket at 10:48 AMActiveRecord::Base#new and #create accepts both a Hash of attributes and a block:
User.create(:first_name => 'Jamie') do |u| u.is_admin = false endTh...