From 8dc7ef972835fc8fa3ff9a740c0317cffd57eaee Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Thu, 24 Jan 2013 22:07:43 +0900 Subject: [PATCH] Describing the reason for defining BlankTopic#blank? which will never be called --- activerecord/test/models/topic.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/activerecord/test/models/topic.rb b/activerecord/test/models/topic.rb index f7f4cebc5a..17035bf338 100644 --- a/activerecord/test/models/topic.rb +++ b/activerecord/test/models/topic.rb @@ -108,6 +108,7 @@ class ImportantTopic < Topic end class BlankTopic < Topic + # declared here to make sure that dynamic finder with a bang can find a model that responds to `blank?` def blank? true end