Georg Ledermann
Developer · Not a member
Georg Ledermann's latest activity
Wednesday, July 14 2010
5105
has_many: Dependent deleting does not work with STI
was updated
in Ruby on Rails
-
- Tag changed from 2-3-stable, 2.3.8, activerecord, associations, has_many, patch to 2-3-stable, 2.3.8, activerecord, associations, has_many, patch, rails3
Sorry, here comes a valid patch file for Rails 3. But there are still no tests for this very simple change. The patch just added a missing "base_class" usage.
Tuesday, July 13 2010
5105
has_many: Dependent deleting does not work with STI
was updated
in Ruby on Rails
-
-
- Tag changed from 2.3.8, has_many, patch to 2-3-stable, 2.3.8, activerecord, associations, has_many, patch
-
-
Georg Ledermann created the ticket at 10:18 AMhas_many has a deleting/nullify bug if used with STI. Please see this example:
class Contact < ActiveRecord::Base has_many :addresses, :as => :object, :depen...
Thursday, May 27 2010
4702
Rails 2.3.8: Hash#deep_merge fails for HashWithIndifferentAccess
was updated
in Ruby on Rails
-
Georg Ledermann commented at 10:36 AMIMHO this patch introduces another bug, because it changes self.
Here is a failing test (based on my test above):
class HashTest < ActiveSupport::TestCase de...
Wednesday, May 26 2010
4702
Rails 2.3.8: Hash#deep_merge fails for HashWithIndifferentAccess
was created
in Ruby on Rails
-
Georg Ledermann created the ticket at 8:11 AMThe following test fails with Rails 2.3.8
class HashTest < ActiveSupport::TestCase def test_deep_merge_for_hash_with_indifferent_access hash1 = { :k => {...
Thursday, July 23 2009
2908
Constructed SQL is wrong for multiple :joins based on has_many with :conditions
was updated
in Ruby on Rails
-
- Tag changed from 2.3.2, 2.3.3, activerecord, conditions, has_many, join, joins, sql to 2.3.2, activerecord, conditions, has_many, join, joins, sql
Please ignore my last comment - it's not true. The bug IS fixed in Rails 2.3.3. Thanks!
http://github.com/rails/rails/commit/489abfd3b23f3c4b3de86aeb3bde39...
Monday, July 20 2009
2908
Constructed SQL is wrong for multiple :joins based on has_many with :conditions
was updated
in Ruby on Rails
-
- Tag changed from 2.3.2, conditions, has_many, join, joins, sql to 2.3.2, 2.3.3, activerecord, conditions, has_many, join, joins, sql
Still occurs in Rails 2.3.3
Tuesday, July 14 2009
2908
Constructed SQL is wrong for multiple :joins based on has_many with :conditions
was created
in Ruby on Rails
-
Georg Ledermann created the ticket at 10:11 AMThe generated INNER JOIN statement is wrong if there are multiple has_many with :conditions and all are joined. See this example:
class Agreement < ActiveRecor...