Greg Campbell
Not a member
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 created the ticket at 8:20 PMQuick 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
-
Greg Campbell commented at 8:37 PMThis was fixed by this commit, which applied the patch from #3972. Both tickets can be closed.
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 commented at 7:55 AMThis 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 commented at 7:43 AMThis 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 commented at 1:52 AMThe same is true for a has_one association with a condition.
I have:
class Contact < ActiveRecord::Base has_one :primary_email, :class_name => 'ContactEma...