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.

Chris's latest activity

Saturday, June 12 2010
4846 Helpers for specifying body attributes for the layout was updated in Ruby on Rails
  • Chris
    Chris commented at 8:30 PM

    If it's useful for review or merging, here's the branch with this changeset:

    http://github.com/chriseppstein/rails/commits/body_attributes

  • Chris
    Chris created the ticket at 8:28 PM

    Often a template/partial needs to access the attributes of a body tag.

    The attached patch enables a convention that body tags should have an ID and class that m...

Thursday, October 08 2009
3346 find_in_batches is slow on large datasets was updated in Ruby on Rails
  • Chris
    Chris commented at 12:10 AM

    Here's the changeset as a patch.

  • Chris
    Chris created the ticket at 12:07 AM

    Using find_in_batches on a table of ~1MM rows generates queries that take >3s for a very simple query because the order clause has to consider the whole table g...

Saturday, January 17 2009
1776 Models Named Test* cause test failures was created in Ruby on Rails
  • Chris
    Chris created the ticket at 6:22 PM

    We do A/B tests and multivariate testing in my rails app and so we have some models named Test*

    This is causing some unfortunate testing errors:

    $ rails -v Rail...

Tuesday, June 17 2008
436 Implied routes to nested collections was updated in Ruby on Rails
  • Chris
    Chris commented at 6:07 AM

    Sorry:

    "...delegate the show action of a nested resource to the index action..."

    Should have been:

    "...delgate the show action of a parent resource to the n...

  • Chris
    Chris created the ticket at 5:54 AM

    Often a resource is little more than a container for a nested collection. The tendency of applications lately is to use "pretty urls" to enhance the readabilit...