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.

Jeremy McNevin's latest activity

Friday, March 18 2011
5851 has_and_belong_to_many destroy with foreign key constraints broken was updated in Ruby on Rails
  • Jeremy McNevin
    • State changed from stale to open
    by Jeremy McNevin at 3:56 PM

    This problem seems to still exist as of 3.0.5. Currently, I need to define my own before_destroy callback to clear out HABTM associations, or a destroy operatio...

Tuesday, February 15 2011
6433 Chained where conditions referencing same attribute joined by OR was updated in Ruby on Rails
  • Jeremy McNevin
    Jeremy McNevin commented at 7:17 PM

    I'm not sure I'm in agreement with this.

    I would expect the where method to operate in consistent manner, and not swap AND or OR around in any case, even if the...

  • Jeremy McNevin
    Jeremy McNevin created the ticket at 5:53 PM

    I've noticed that in Rails 3.0.4, the where method behaves differently if the attribute it references has been used previously, generating an 'OR' instead of 'A...

Saturday, July 12 2008
604 eager loading polymorphic has_one association with conditions generates incor... was created in Ruby on Rails
  • Jeremy McNevin
    Jeremy McNevin created the ticket at 12:27 AM

    Given the following association in an "Org" model:

    has_one :primary_address, :class_name => "Address", :as => :addressable, :conditions => { :primary => true ...