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.

RSL's latest activity

Thursday, September 11 2008
1027 Optimization to not hit the db when preloading empty association sets was created in Ruby on Rails
  • RSL
    RSL created the ticket at 7:20 PM

    Current code hits the db whether there's any ids to preload or not. Optimization to only hit db when the ids array is not empty. Passes all current tests but I'...

Wednesday, September 10 2008
1013 make association preloading use = instead of IN for single records was created in Ruby on Rails
  • RSL
    RSL created the ticket at 7:29 PM

    i noticed that rails sometimes hits the db twice for the same single record like so:

    
    SELECT * FROM `sites` WHERE (`sites`.`id` IN (1))
    SELECT * FROM `sites` ...
Tuesday, September 09 2008
980 [patch] fixes validates_uniqueness_of regression was updated in Ruby on Rails
  • RSL
    RSL commented at 1:22 AM

    This fixes breaking tests in edge for me as well.

Saturday, September 06 2008
342 Enhancements To ActionView::Helpers::TextHelper#pluralize was updated in Ruby on Rails
  • RSL
    • Tag set to enhancement, pluralize, text_helper
    by RSL at 7:29 PM

    This is a nice enhancement. I've had to write a method for this a few times.

Saturday, August 16 2008
329 Add an API for plugins to register routes was updated in Ruby on Rails
  • RSL
    RSL commented at 5:17 PM

    rich, i misread developer to mean the plugin developer [my fault for reading too quickly]. great patch. +1

Friday, August 15 2008
329 Add an API for plugins to register routes was updated in Ruby on Rails
  • RSL
    RSL commented at 10:34 PM

    Question: is it really a good idea for routing information to be spread all over the rails app? and potentially conflicted between plugins? I'm much more comfor...

791 Add empty_template option when rendering a collection was updated in Ruby on Rails
  • RSL
    RSL commented at 7:40 PM

    @ ryan & damien, doy. where is my mind? i like this.

  • RSL
    RSL commented at 6:05 PM

    What about the case where you want something more complex than a simple string rendered when the collection is empty?

838 add support for selective resource routes was updated in Ruby on Rails
  • RSL
    RSL commented at 2:15 AM

    I admit I was blinded by that last URL. If the goal of this is to DRY up the routing there while encouraging a more direct routing where possible, I'd like to s...

  • RSL
    RSL commented at 1:39 AM

    Or [and I'm going on a limb here] you could just not make that resource nested so deep. http://weblog.jamisbuck.org/2007...