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.

There was a problem

You must be a member of this account.

Will Bryant's latest activity

Monday, July 27 2009
2946 quoted_date converts time objects to default_timezone was updated in Ruby on Rails
  • Will Bryant
    Will Bryant commented at 2:23 PM

    Hmm, one thing that warrents note. I tried this out in a second project and it did cause some spec failures. The underlying problem is that String#to_time retur...

  • Will Bryant
    Will Bryant commented at 12:43 PM
    1. I discovered the other day that if I have config.time_zone = 'Wellington', I need to explicitly convert my times using #utc before using them in certain condit...
Monday, July 06 2009
2851 Filtering parameters inside arrays when logging was updated in Ruby on Rails
  • Will Bryant
    Will Bryant commented at 4:00 AM

    Was it intended that this results in filter_parameters being called with scalar arguments, for example when you use:

    post :create, :foo => ["bar", "baz"]

    filter...

Friday, July 03 2009
2251 AssociationCollection#destroy should only delete join table records was updated in Ruby on Rails
  • Will Bryant
    Will Bryant commented at 12:39 AM

    I think that's a great idea - if Task.belongs_to :project, :dependent => destroy, then customer.tasks.destroy_all should destroy all projects too.

    Otherwise - i...

Thursday, June 04 2009
2251 AssociationCollection#destroy should only delete join table records was updated in Ruby on Rails
  • Will Bryant
    Will Bryant commented at 10:37 AM

    Yeah, I'm hitting the destroy_all issue too - it certainly works fine in a 2.2 app. I see no reason why it should delete the records it goes through; for exampl...

Monday, June 01 2009
2189 count breaks has_many through association collection with named scope was updated in Ruby on Rails
  • Will Bryant
    Will Bryant commented at 3:37 AM

    As per discussions on rails-core, the original commit introducing the problem has been reverted for 2-3-stable (reverted in 34c3162), so the forthcoming patch r...

Tuesday, May 12 2009
2559 Inheritable ActionMailer server settings was updated in Ruby on Rails
  • Will Bryant
    Will Bryant commented at 5:15 AM

    As per Koz's suggestion on the mailing list, superclass_delegating_accessor works better - no test changes needed with that.

    That in itself works fine.

    However,...

Monday, May 11 2009
2591 Passing in Fixnum to First/Last Finders was updated in Ruby on Rails
  • Will Bryant
    • Tag changed from activerecord, finder to activerecord, finder, verified
    by Will Bryant at 11:42 PM
2419 [Patch] Raise specific exceptions for violated database constraints was updated in Ruby on Rails
  • Will Bryant
    Will Bryant commented at 2:59 AM

    I'm getting one sqlite test failure from this patch:

    1) Failure: test_uniqueness_violations_are_translated_to_specific_exception(AdapterTest)

    [./test/cases/ada...
2189 count breaks has_many through association collection with named scope was updated in Ruby on Rails
  • Will Bryant
    Will Bryant commented at 2:39 AM

    seanskye: I think you most likely have a different issue. This regression first appeared in Rails 2.3 RC2; on 2.2.2 it shouldn't be a problem (we use this funct...