Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Jakob S's latest activity

Sunday, April 03 2011
6665 Block syntax for update_attributes was updated in Ruby on Rails
  • Jakob S
    Jakob S commented at 10:54 AM

    /pwned by Lighthouse code formatting :(

    Attached revised patch with docs for the changes.

  • Jakob S
    Jakob S created the ticket at 10:48 AM

    ActiveRecord::Base#new and #create accepts both a Hash of attributes and a block:

      User.create(:first_name => 'Jamie') do |u|
        u.is_admin = false
      end
    

    Th...