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.

Ed Lebert's latest activity

Friday, May 22 2009
2160 nested_attributes: validates_uniqueness_of fails was updated in Ruby on Rails
  • Ed Lebert
    Ed Lebert commented at 2:46 PM

    This is really a problem with a core rails philosophy. It assumes that, no matter what, if "valid?" returns true, then it will save successfully. That is a fals...

Monday, December 08 2008
1533 Preloading more than 1000 associated records causes ActiveRecord::StatementIn... was updated in Ruby on Rails
  • Ed Lebert
    Ed Lebert commented at 8:28 PM

    I think the first option is best, but you're the expert.

    I used to just monkey patch ActiveRecord::AssociationPreload::ClassMethods::Find_assicoated_records. Bu...

  • Ed Lebert
    Ed Lebert created the ticket at 7:28 PM

    Rails often uses "in" sql clauses when preloading associations. Oracle has a 1000 term restriction on such clauses, so that you cannot say something like "WHERE...

Thursday, October 02 2008
796 A small modification at ActiveRecord's calculations.rb was updated in Ruby on Rails
  • Ed Lebert
    Ed Lebert commented at 5:01 PM

    Raimonds,

    Do you have a suggested workaround for this in the mean time? My oracle rails app broke :(