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.

John Wulff's latest activity

Tuesday, March 17 2009
2282 has_many association_condition option was created in Ruby on Rails
  • John Wulff
    John Wulff created the ticket at 11:51 PM

    I've added a new option to has_many association: association_condition allowing default "primary_key = foreign_key" condition to be overridden to something more...

Thursday, November 13 2008
1370 ActiveRecord::Base.construct_finder_sql gives scope[:from] precedence over op... was updated in Ruby on Rails
  • John Wulff
    John Wulff commented at 11:03 PM

    Attached diff.

  • John Wulff
    John Wulff created the ticket at 10:08 PM

    In activerecord/lib/active_record/base.rb

    
    module ActiveRecord
      ...
      class Base
        ...
        class << self
          ...
          def construct_finder_sql(options)
    ...
Tuesday, October 21 2008
1242 AssociationReflection memoizes table_name and quoted_table_name was created in Ruby on Rails
  • John Wulff
    John Wulff created the ticket at 12:57 AM

    Memoization in AssociationReflection causes problems when dynamically setting a model's table name. (This does not appear to be a problem in test and developmen...

Thursday, October 16 2008
1229 Add :from scoping respect to Calculations module was created in Ruby on Rails
  • John Wulff
    John Wulff created the ticket at 11:43 PM

    Calculations do not respect :from scopings. (The do now respect :from as an option.)

    
    class Node < ActiveRecord::Base
      named_scope :old_nodes, { :from => 'ol...
Wednesday, October 15 2008
397 Add :from option to Calculations module was updated in Ruby on Rails
  • John Wulff
    • Tag set to activerecord, patch, tested
    by John Wulff at 12:46 AM

    Really glad this made it in. Thanks everyone.

Wednesday, September 03 2008
788 partial_updates clobbers serialized attributes was updated in Ruby on Rails
  • John Wulff
    John Wulff commented at 10:38 PM

    Thanks Jeremy. That was awfully stupid of me.

  • John Wulff
    John Wulff commented at 7:23 PM

    Sad this isn't in 2.0.4.

Wednesday, August 13 2008
788 partial_updates clobbers serialized attributes was updated in Ruby on Rails
Saturday, August 09 2008
788 Saving Only "changed" Attributes Hurts Serialization was updated in Ruby on Rails
  • John Wulff
    John Wulff commented at 5:11 AM

    Prior to dirty tracking changes made to serialized objects were saved. Now they are not. This is the way things are going to stay?