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

Monday, June 28 2010
4989 Rack::Mount blows up if passed invalid constraints was updated in Ruby on Rails
  • Andrew White
    Andrew White commented at 1:38 AM

    Updated patch to use only instance variables and pass in RouteSet as first parameter.

  • Andrew White
    Andrew White commented at 1:03 AM

    An example routes.rb file that shows this error is:

    scope :constraints => { :id => /\d+/ } do
      resources :products
      resources :images
    end
    
  • Andrew White
    Andrew White created the ticket at 1:01 AM

    If you use scope to specify some constraints that aren't used within a route inside that scope then Rack::Mount raises an exception. The attached patch removes ...

Sunday, June 27 2010
2694 Nested resources inherit requirements on parent ids was updated in Ruby on Rails
  • Andrew White
    • Assigned user set to Andrew White
    • State changed from new to open
    • Milestone cleared.
    • Importance changed from to Medium
    by Andrew White at 9:33 PM
4896 i18n routes can't be recognized was updated in Ruby on Rails
  • Andrew White
    • Milestone cleared.
    • State changed from new to open
    • Assigned user set to Andrew White
    • Importance changed from to Medium
    by Andrew White at 6:10 PM

    With the increasing support for IDN in browsers this is probably something we want to address.

4765 Link_to should escape & in the query string was updated in Ruby on Rails
  • Andrew White
    • Assigned user set to José Valim
    • State changed from new to open
    • Milestone cleared.
    • Importance changed from to High
    by Andrew White at 9:36 AM

    I think that commit was to prevent double escaping of hash urls but that seems to have been corrected elsewhere. I think we need to restore the escaping by defa...

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 invalid to open
    • Milestone cleared.
    • Importance changed from to High
    by Andrew White at 8:12 AM

    Sorry, this isn't invalid. The problem occurs when you have recall params which get added to the url as there isn't a controller and action when routing to a bl...

4718 Some url helpers are broken was updated in Ruby on Rails
Saturday, June 26 2010
4887 has_many through belongs_to association bug was updated in Ruby on Rails
  • Andrew White
    • Assigned user changed from Pratik to Andrew White
    • State changed from new to open
    • Milestone cleared.
    • Importance changed from to High
    by Andrew White at 1:47 PM

    Someone else has reported this on #4977. Definitely need to fix this before final release. Should return an empty array if the belongs_to association is nil.

4977 Calling 'size' on an 'has_many :through' association errors was updated in Ruby on Rails
  • Andrew White
    • State changed from new to duplicate
    • Importance changed from to Low
    by Andrew White at 1:44 PM

    Duplicate of #4887