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.

Luke Redpath's latest activity

Wednesday, August 20 2008
700 ActionMailer::Base should respond to methods handled by method_missing was updated in Ruby on Rails
  • Luke Redpath
    Luke Redpath commented at 9:31 AM

    +1 - if it quacks like a duck, it should know that it can quack like a duck.

Tuesday, June 24 2008
206 Improve Rails.env was updated in Ruby on Rails
Wednesday, June 11 2008
338 Invalid has_one association causes parent object save to fail was updated in Ruby on Rails
  • Luke Redpath
    • Assigned user set to Pratik
    by Luke Redpath at 1:23 PM

    There seems to be some inconsistency in the documentation in that commit; sometimes it says false by default, sometimes it is true by default. Is this just a d...

Thursday, June 05 2008
339 Calling url_for with no arguments fails if default_url_options is not set was created in Ruby on Rails
  • Luke Redpath
    Luke Redpath created the ticket at 1:31 PM

    Whilst upgrading an app from 1.2 to 2.1, one of my controller tests was failing with:

    The error occurred while evaluating nil.[]
    method rewrite_url in url_re...
338 Invalid has_one association causes parent object save to fail was updated in Ruby on Rails
  • Luke Redpath
    Luke Redpath commented at 11:21 AM

    One further note, this appears to be related to this ticket

    It appears some kind of fix has been checked in (a :validate option to disable this behaviour) but...

  • Luke Redpath
    Luke Redpath created the ticket at 11:16 AM

    This ticket on the old Rails trac supplied a patch that changes the behaviour of has_one; now, if the associated record is invalid, the parent object will not ...