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, August 24 2010
5431 Rails 3 RC Routing: resource member routes lack defaults was updated in Ruby on Rails
  • Andrew White
    • Milestone cleared.
    • State changed from new to open
    • Assigned user set to Andrew White
    by Andrew White at 7:04 AM

    I think the problem is the guide shows the example using a string, whereas it should really be a symbol. I can't reproduce the missing action error but it is co...

Monday, August 23 2010
4659 ActiveRecord does not convert time attributes to proper timezone was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    • Importance changed from to High
    by Andrew White at 5:55 PM

    Can't reproduce this in RC so it must have been fixed at some point.

5382 rake db:create does not do what the description says was updated in Ruby on Rails
  • Andrew White
    • State changed from new to duplicate
    • Assigned user cleared.
    • Importance changed from to Low
    by Andrew White at 5:15 PM
4887 has_many through belongs_to association bug was updated in Ruby on Rails
  • Andrew White
    • State changed from open to needs-more-info
    • Importance changed from High to Low
    by Andrew White at 1:21 PM

    I can't reproduce this - can you post a sample application where this fails? I added the test case from your first patch and it passed. Funny thing is there see...

5294 Rails3 RC - Associations (has_one, has_many) does not work with models that a... was updated in Ruby on Rails
  • Andrew White
    • Assigned user set to Aaron Patterson
    • Importance changed from to Low
    by Andrew White at 1:02 PM

    Hey guys, can someone come up with a test case for this please?
    RC2 is coming soon and if you'd like this fixed the help would be appreciated.

5430 defining subdomain constraints in router with various TLD lengths was updated in Ruby on Rails
  • Andrew White
    • State changed from open to wontfix
    by Andrew White at 12:44 PM
  • Andrew White
    Andrew White commented at 12:20 PM

    Another workaround would be to use a regexp and host:

      constraints :host => /^api\.(localhost|rubyonrails\.org\.uk)$/ do
        ...
      end
    
  • Andrew White
    • Milestone cleared.
    • State changed from new to open
    • Assigned user set to Andrew White
    • Importance changed from to Low
    by Andrew White at 12:14 PM

    Not sure about adding another global config option but as a workaround you can do the following:

      constraints{ |req| req.subdomain(req.host == 'localhost' ? 0...
5429 It's hard to understand errors generated by ActiveRecord::Base compute_type m... was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    • Importance changed from to Low
    by Andrew White at 12:35 PM

    The error message is the same as you would get with pure ruby:

    #!/usr/bin/ruby
    
    class Category
      def build
        RatingCriteria.new
      end
    end
    
    Category.new.build...
Sunday, August 22 2010
5157 Routing bug when using :constraints was updated in Ruby on Rails
  • Andrew White
    • Assigned user changed from Andrew White to José Valim
    by Andrew White at 6:58 PM

    Attached patch fixes the issue by caching the symbolized path parameters in the request object rather than the environment hash.