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.

Oliver Legg's latest activity

Wednesday, March 18 2009
2228 ActiveRecord::Base#saved? was updated in Ruby on Rails
  • Oliver Legg
    Oliver Legg commented at 12:58 PM

    @manfred

    Yes. On an edit page for a review. The edit page shares the _form partial with the new action, so we only display the delete button when the review is ...

Monday, March 16 2009
2228 ActiveRecord::Base#saved? was updated in Ruby on Rails
  • Oliver Legg
    Oliver Legg commented at 9:58 AM

    I agree with both of those points. I've updated the patch.

Friday, March 13 2009
2228 ActiveRecord::Base#saved? was updated in Ruby on Rails
  • Oliver Legg
    Oliver Legg commented at 2:35 PM

    A very simple method which is the opposite of ActiveRecord::Base#new_record?

    I believe that this is justified (as opposed !new_record?) as it makes my code more...

  • Oliver Legg
    Oliver Legg created the ticket at 2:33 PM

    A very simple method which is the opposite of ActiveRecord::Base#new_record?

    I believe that this is justified (as opposed !new_record?) as it makes my code more...

Wednesday, March 04 2009
2094 Resources Routing not correctly generating paths was updated in Ruby on Rails
Wednesday, December 03 2008
1423 Optional Exception on Mass-assignment of Protected Attributes was updated in Ruby on Rails
  • Oliver Legg
    Oliver Legg commented at 11:33 AM

    +1

    I think this should be configurable, so that the behavior can be different depending on environment.

    This always bites me. I turn everything to protected by ...