aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/parrot.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-10-02 09:40:41 -0400
committerSean Griffin <sean@seantheprogrammer.com>2015-10-02 09:40:41 -0400
commit524cbc216748ee47dce10c79b7ca1f37172a8ead (patch)
treee0f1d5b9567e0f5731da63fe4a8d87f5a96ff930 /activerecord/test/models/parrot.rb
parentede244e2367c7988fa02f5e3b956d88211bb5ade (diff)
parent73ec5a26a345846df52d547980f738d5442ef949 (diff)
downloadrails-524cbc216748ee47dce10c79b7ca1f37172a8ead.tar.gz
rails-524cbc216748ee47dce10c79b7ca1f37172a8ead.tar.bz2
rails-524cbc216748ee47dce10c79b7ca1f37172a8ead.zip
Merge pull request #21839 from andyatkinson/remove-unusued-scopes
Remove unused scopes
Diffstat (limited to 'activerecord/test/models/parrot.rb')
-rw-r--r--activerecord/test/models/parrot.rb6
1 files changed, 0 insertions, 6 deletions
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