Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed unused associations

  • Loading branch information...
commit 07e489c9a2b1a4c359a8fc494c2e7b4af17a0e37 1 parent 2d211c4
Andrew White pixeltrix authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  activerecord/test/cases/timestamp_test.rb
2  activerecord/test/cases/timestamp_test.rb
View
@@ -179,7 +179,6 @@ def self.name; 'Toy'; end
def test_touching_a_record_touches_polymorphic_record
klass = Class.new(ActiveRecord::Base) do
def self.name; 'Toy'; end
- belongs_to :pet, :touch => true
end
wheel_klass = Class.new(ActiveRecord::Base) do
@@ -228,7 +227,6 @@ def self.name; 'Toy'; end
def test_changing_parent_of_a_record_touches_both_new_and_old_polymorphic_parent_record
klass = Class.new(ActiveRecord::Base) do
def self.name; 'Toy'; end
- belongs_to :pet, touch: true
end
wheel_klass = Class.new(ActiveRecord::Base) do
Please sign in to comment.
Something went wrong with that request. Please try again.