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.

Ian White's latest activity

Thursday, December 11 2008
1557 loading config/environment from outside rails root raises error was created in Ruby on Rails
  • Ian White
    Ian White created the ticket at 3:42 AM

    This problem arises for example when loading the rails env in a plugin test

    for example (in a fresh rails edge app)

    
    cd vendor
    ruby ../config/environment.rb
    ...
Thursday, October 16 2008
1083 Calls to private methods via association proxies should act consistently with... was updated in Ruby on Rails
  • Ian White
    Ian White commented at 2:03 AM

    Here's a better patch, with the same test, but the fix outlined in the above comment.

  • Ian White
    Ian White commented at 1:53 AM

    I just realised that a smarter fix would be to make AssociationCollection#proxy_respond_to? do the work, and leave send untouched.

  • Ian White
    Ian White commented at 1:43 AM

    The new implementation of send forwards to the @target when the proxy doesn't respond to the method.

    This is a problem if the proxy itself uses method_missing t...

Tuesday, October 14 2008
1083 Calls to private methods via association proxies should act consistently with... was updated in Ruby on Rails
  • Ian White
    Ian White commented at 12:01 AM

    This has had the following unfortunate effect

    (using the example in comments above)

    
      fork.tines.new  # => fine, builds a tine in fork scope
    
      fork.tines.se...
Sunday, May 04 2008
22 default_url_options is being ignored by named route optimisation was updated in Ruby on Rails
  • Ian White
    Ian White commented at 8:24 PM

    Actually I see that Cheah Chu Yeow's patch doesn't include a regression test, so it might be useful to use the diff I attached for that.

  • Ian White
    Ian White commented at 8:22 PM

    apostrophe man commin to get me... I wish I could edit lighthouse comments

  • Ian White
    Ian White commented at 8:20 PM

    Does this need to re-opened as a new ticket? I notice that it's status is 'resolved'.

  • Ian White
    Ian White commented at 5:25 PM

    No worries, uploaded my test patch without seeing Cheah Chu Yeow's updates updates on this ticket, you can just ignore it

  • Ian White
    Ian White commented at 5:23 PM

    Here's a testcase that fails on 6a6b43 but passes on the previous commit 437f918

    (you have to paste the test into 437f918- the diff doesn't apply)