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

Sunday, September 12 2010
5612 request.referrer never returns nil for no referrer was updated in Ruby on Rails
  • Andrew White
    • State changed from open to wontfix
    by Andrew White at 12:24 AM

    The request object inherits from Rack::Request which is where the referer method is defined. Whilst I think it's a bit odd I don't think we should be redefining...

5535 racc/parser.rb not found in gem was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    • Importance changed from to Low
    by Andrew White at 12:06 AM

    The problem is that gentoo removes ruby bundled gems like racc from their packages. Rails itself doesn't require racc directly - it's the gems rack-mount, i18n ...

Wednesday, September 08 2010
5573 rake routes gives different results (rails 3.0.0.rc1, rails 3.0.0.rc2) was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    by Andrew White at 7:29 AM
  • Andrew White
    • Importance changed from to Low
    by Andrew White at 7:29 AM

    In rc1 the resource name was forced to be a plural but since this broke some peoples apps starting from rc2 we assume that you pass the plural in the resources ...

Sunday, September 05 2010
5548 Date.end_of_week not working in production mode was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    • Importance changed from to Low
    by Andrew White at 10:24 PM

    Closing as no-one seems to be able to reproduce (myself included).

5553 Post directive in nested singleton resource route doesn't work was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    • Importance changed from to Low
    by Andrew White at 9:36 PM

    When using form_for with an existing record then it will default to PUT rather than POST as that's the pattern for an update when using RESTful routes. Either s...

Friday, September 03 2010
5543 problem with module loading was updated in Ruby on Rails
  • Andrew White
    • State changed from new to invalid
    • Importance changed from to Low
    by Andrew White at 11:31 AM

    In Rails 3 files in lib are no longer autoloaded - you need to require them explicitly, e.g:

    require 'test_mod'
    
    class Nsp::UsersController < ApplicationContro...
5542 Namespaced models: ActiveModel::Name uses ActiveSupport::Inflector incorrectly? was updated in Ruby on Rails
  • Andrew White
    • State changed from new to wontfix
    • Importance changed from to Low
    by Andrew White at 11:18 AM

    You need to add seafood_fish to your uncountable inflections:

    # config/initializers/inflections.rb
    ActiveSupport::Inflector.inflections do |inflect|
      inflect....
Wednesday, September 01 2010
5497 Default scope and class reloading was updated in Ruby on Rails