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 Vit's latest activity

Friday, April 17 2009
1626 fieldWithErrors shouldn't use a div was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 7:08 PM

    I'm looking at the tests in Adam's patch to get the general idea... and I'm not sure I'm in agreement. There's certainly room for improvement over the default o...

Sunday, March 15 2009
222 named_scope :order on association with :order is unintuitive was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 6:50 PM

    It seems this also applies to default_scope, which is potentially very confusing because it hides the source of the problem.

  • Andrew Vit
    Andrew Vit commented at 6:13 PM

    The current behaviour also prevents us from explicitly setting the order on top of a named scope:

    
    obj.sort_a :order => "b,c"
    #=> "order a"
    

    I would expect ...

Monday, February 16 2009
1983 Added: TemplateRunner gem :env option was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 5:44 AM

    Fixed: remove comma in option string if the only option is :env

    Updated patch...

  • Andrew Vit
    Andrew Vit created the ticket at 4:20 AM

    Some gems are only needed in development/test. This patch adds the following syntax to TemplateRunner:

    
    gem 'rspec', :env => 'test'
    

    The gem dependency is ap...

Wednesday, November 26 2008
1481 ActionController::Integration::Session is missing Test::Unit::Assertions was updated in Ruby on Rails
  • Andrew Vit
    • Tag changed from assertions, integration_test, regression, testing to assertions, dependencies, gems, testing
    by Andrew Vit at 9:03 PM

    I'm pretty sure the patch I attached is totally naïve. I just looked at the commit log and I see there's a recent change to use autoloading instead of explicit ...

  • Andrew Vit
    Andrew Vit created the ticket at 2:28 PM

    With the edge version, something has changed in the Integration::Session module which prevents Shoulda from loading. I believe this error is with rails, as noth...

474 Allow Hash to be passed into AssociationProxy setters and AssociationCollections was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 9:11 AM

    Why is this ticket marked "resolved" if the feature was pulled?

Thursday, November 06 2008
791 Add empty_template option when rendering a collection was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 10:31 AM

    Just a note, this change crashes XML builder templates with empty collections which use this convention:

    
    @items = []
    xml << render( :collection => @items )
    

    ...

Tuesday, September 23 2008
1095 Time columns don't handle timezone correctly was updated in Ruby on Rails
  • Andrew Vit
    Andrew Vit commented at 7:12 AM

    Thanks guys, looks like it's fixed in edge. Burn this ticket!