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.

Andrew White's latest activity

Tuesday, October 26 2010
5862 allow_blank => false can be ineffective on validates_length_of was updated in Ruby on Rails
  • Andrew White
    • State changed from new to wontfix
    • Importance changed from to Low
    by Andrew White at 10:43 AM

    The documentation explicitly states that the validation will be skipped if the value is blank so it follows that the validation will not be skipped if the value...

Monday, October 25 2010
1671 Inappropriate "@variable will no longer be implicitly assigned to variable" m... was updated in Ruby on Rails
  • Andrew White
    • Milestone set to 2.3.10
    by Andrew White at 1:59 PM

    Okay, I finally managed to reproduce this. The key fact is that the passed local assign needs to be nil, otherwise the proxy object isn't created. We can fix th...

Tuesday, October 19 2010
3809 default scope not changing when class is unloaded and reloaded was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 12:49 AM

    Yes, it was fixed by the commits on #5497 - though looking at this it needs backporting to 2-3-stable as well.

Monday, October 18 2010
5836 default_scope behavior causes the generated SQL to be invalid for PostgreSQL was updated in Ruby on Rails
  • Andrew White
    • Importance changed from to Low
    by Andrew White at 4:10 PM

    Is there any situation where an ORDER BY statement is useful in a COUNT query - I can't think of one. Perhaps AR::Relation should drop the order clause on all c...

5692 generated tests should flunk when unimplemented was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 12:12 PM

    Why not use pending as a middle way?

    require 'test_helper'
    
    class PagesControllerTest < ActionController::TestCase
      test "pages controller" do
        pending "Re...
5822 Put ActionDispatch::Routing::RouteSet::Generator#use_relative_path! to work w... was updated in Ruby on Rails
  • Andrew White
    • State changed from new to open
    • Assigned user changed from José Valim to Andrew White
    • Importance changed from to Low
    by Andrew White at 10:25 AM
5832 assert_redirected_to and assert_template should not both pass was updated in Ruby on Rails
  • Andrew White
    • State changed from new to open
    • Milestone set to 3.1
    • Assigned user set to Andrew White
    • Importance changed from to Low
    by Andrew White at 10:05 AM

    Looks like the assert_template instance variables don't get reset between requests - fix forthcoming.

Friday, October 15 2010
3663 redirect_to skips generation of headers (security problem) was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 12:36 PM

    I'm still getting a no-cache header with Rails 2.3.8 - is there a plugin that may be affecting things?

    The setting of no-cache for redirection seems logical to ...

  • Andrew White
    • State changed from incomplete to needs-more-info
    by Andrew White at 10:33 AM

    I can't reproduce this in a test application in either 2.3.10 or 3.0.1 - here's the output I get:

    curl -I -b "_testapp2_session=BAh7BzoJcGFnZSIJdGVzdDoPc2Vzc2l...
Saturday, October 09 2010
4328 Missing support for actions on a new resource in new routing DSL was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 6:01 AM

    You need to move your new actions ahead of your member actions - the routes are being matched in the order in which they are declared.