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.

dspencer's latest activity

Friday, February 04 2011
6351 Rake test fails on a fresh clone on OSX. was updated in Ruby on Rails
  • dspencer
    dspencer commented at 2:48 AM

    For running rake test in 1.9.2@136, in the activerecord folder: https://gist.github.com/810662
    It said Errors running test_mysql, test_mysql2, test_postgresql
    B...

Monday, January 31 2011
6351 Rake test fails on a fresh clone on OSX. was created in Ruby on Rails
  • dspencer
    dspencer created the ticket at 8:38 PM

    I've tried this on both system ruby (I'm on OSX 10.6.6, so that is using ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]) and on ruby 1.9.2p136. I...

Tuesday, January 11 2011
1527 For ActiveRecord models there should be a way to avoid calling memoized metho... was updated in Ruby on Rails
  • dspencer
    dspencer commented at 12:16 AM

    I'm not sure I'm going about this in the right way; but I made a patch that saves a Set of methods to be primed on freeze; and only primes those.

    I can't seem t...

Monday, January 10 2011
6271 Possible edge rails bug was updated in Ruby on Rails
  • dspencer
    dspencer commented at 8:25 PM

    +1, I was able to reproduce this. Before the stacktrace, though, I got these lines:

    Error during failsafe response: You have a nil object when you didn't expec...
Saturday, January 08 2011
6267 Migration: undefined method `to_sym' for nil:NilClass was updated in Ruby on Rails
  • dspencer
    dspencer commented at 8:31 PM

    Using rails 3.0.3 I didn't experience this problem.

    CreateTestMigrationErrors.rb

    class CreateTestMigrationErrors < ActiveRecord::Migration
      def self.up
        cr...
6260 Custom response headers was updated in Ruby on Rails
  • dspencer
    dspencer commented at 8:16 PM

    I'm also using rails 3.0.3 and it worked fine for me as well.

    Controller

    class AppController < ApplicationController
      def example
        response.headers["Header...