Jeremy McNevin
Not a member
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
-
- State changed from stale to open
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
-
Jeremy McNevin commented at 7:17 PMI'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 created the ticket at 5:53 PMI'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 created the ticket at 12:27 AMGiven the following association in an "Org" model:
has_one :primary_address, :class_name => "Address", :as => :addressable, :conditions => { :primary => true ...