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.

There was a problem

You must be a member of this account.

Cathal O' Riordan's latest activity

Thursday, January 27 2011
6342 ActiveRecord::Base#exists? returns true when called with nil was created in Ruby on Rails
  • Cathal O' Riordan
    Cathal O' Riordan created the ticket at 12:54 PM

    Given the following models,

    
    class Department < ActiveRecord::Base
      
      has_many :employees
      
    end
    
    class Employee < ActiveRecord::Base
    
      belongs_to :departme...
Wednesday, January 26 2011
6335 failure to detect optimistic locking collision on has_many :through relationship was created in Ruby on Rails
  • Cathal O' Riordan
    Cathal O' Riordan created the ticket at 1:42 PM

    Given the following models,

    
    class User < ActiveRecord::Base
    
      has_many :courses
    
    end
    
    class Course < ActiveRecord::Base
      
      belongs_to :user
    
    end
    

    where Cou...