From 73ec5a26a345846df52d547980f738d5442ef949 Mon Sep 17 00:00:00 2001 From: Andy Atkinson Date: Thu, 1 Oct 2015 23:42:42 -0500 Subject: Remove unused scopes --- activerecord/test/models/parrot.rb | 6 ------ 1 file changed, 6 deletions(-) (limited to 'activerecord/test/models/parrot.rb') diff --git a/activerecord/test/models/parrot.rb b/activerecord/test/models/parrot.rb index b26035d944..ddc9dcaf29 100644 --- a/activerecord/test/models/parrot.rb +++ b/activerecord/test/models/parrot.rb @@ -21,9 +21,3 @@ end class DeadParrot < Parrot belongs_to :killer, :class_name => 'Pirate', foreign_key: :killer_id end - -class FunkyParrot < Parrot - before_destroy do - raise "before_destroy was called" - end -end -- cgit v1.2.3