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.

Greg Campbell's latest activity

Thursday, August 05 2010
5311 ActiveModel::Validations uses Hash#except, but does not require it from Activ... was updated in Ruby on Rails
  • Greg Campbell
    • Tag changed from patch activemodel to activemodel, patch
    by Greg Campbell at 8:23 PM
  • Greg Campbell
    • Tag set to patch activemodel
    by Greg Campbell at 8:22 PM
  • Greg Campbell
    Greg Campbell created the ticket at 8:20 PM

    Quick example:

    
        require 'active_model'
    
        class Model
          include ActiveModel::Validations
          attr_accessor :name
          validates_presence_of :name
    ...
Friday, June 11 2010
4204 DateTime arithmetic: Stack level too deep was updated in Ruby on Rails
Tuesday, April 13 2010
3972 [PATCH] DateTime#to_date returns self when Date#to_date is defined at first was updated in Ruby on Rails
  • Greg Campbell
    Greg Campbell commented at 7:55 AM

    This patch appears to work, except that without the shim we now need to explicitly require active_support/core_ext/file/path for test/core_ext/file_test.rb to p...

4204 DateTime arithmetic: Stack level too deep was updated in Ruby on Rails
  • Greg Campbell
    Greg Campbell commented at 7:43 AM

    This is reproducible on my machine. I believe it should be fixed by the patch in #3972.

Saturday, June 07 2008
358 find with a has_many condition fails was updated in Ruby on Rails
  • Greg Campbell
    Greg Campbell commented at 1:52 AM

    The same is true for a has_one association with a condition.

    I have:

    class Contact < ActiveRecord::Base
      has_one :primary_email, :class_name => 'ContactEma...