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

Saturday, June 26 2010
4278 Objects lose association methods in development mode was updated in Ruby on Rails
  • Andrew White
    • Importance changed from to High
    by Andrew White at 12:15 PM

    I can't reproduce this on master and AR::Base.reset_subclasses has now been refactored. If anyone can reproduce this please post steps here, thanks.

4868 url_helpers not available in sweepers in test environment was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 12:13 PM

    I'm pretty sure the reason is that if you've a big routes.rb file you probably don't want them loaded in every test case. That way you can include them in the o...

4832 Can't create a route with an prefix optional segment that contains both stati... was updated in Ruby on Rails
  • Andrew White
    • State changed from new to open
    • Milestone cleared.
    • Importance changed from to High
    by Andrew White at 10:50 AM

    Thanks Paul. I've taken your patch and extended it to also support optional static segments by themselves as well.

4980 Resource controller name pluralization regression was created in Ruby on Rails
  • Andrew White
    Andrew White created the ticket at 8:24 AM

    In Rails 2.3 the controller name is not forced to be a plural in a map.resources call, e.g:

    map.resources :content
    

    creates routes like this:

    andyw$ rake rout...
4762 url_for :escape parameter is ignored was updated in Ruby on Rails
  • Andrew White
    • Milestone cleared.
    • State changed from new to open
    by Andrew White at 2:02 AM

    The :escape option is only for HTML entity escaping and not URL escaping which is what's happening here. However there is a bug in that the :anchor is being ove...

Friday, June 25 2010
4326 URL Generation for routes that point to a Rack application include the contro... was updated in Ruby on Rails
  • Andrew White
    • State changed from wontfix to invalid
    by Andrew White at 11:35 PM

    Actually it's invalid - you just need to specify the end point.

      resources :channels do
        resources :people
        resources :events do
          collection do
       ...
4744 ActiveRecord uses wrong class for has_many association was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    by Andrew White at 10:16 PM

    The reportable gem includes Saulabs::Reportable into ActiveRecord::Base which makes Saulabs::Reportable::Report available inside Account. AR::Base#compute_type ...

4219 Add column and index query methods to ActiveRecord::Schema was updated in Ruby on Rails
4677 attr_accessible breaks nested model attributes was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    by Andrew White at 5:36 PM
2536 .:format feature breaks URL compliance (rfc1738) - should be optional was updated in Ruby on Rails
  • Andrew White
    • Milestone cleared.
    • Assigned user set to José Valim
    by Andrew White at 5:31 PM

    Tests to make sure the above solution can work
    Patch inline as uploads aren't working

    From 01510e1a8edae61955c6112a33fb103f0507395e Mon Sep 17 00:00:00 2001
    Fr...