diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-01-24 22:07:43 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-01-24 22:07:43 +0900 |
commit | 8dc7ef972835fc8fa3ff9a740c0317cffd57eaee (patch) | |
tree | 9ca979bd260c6ba64b23d15c53e71ded6459399b | |
parent | 0400139038585888d227eac6a3391e87c5e8cf0d (diff) | |
download | rails-8dc7ef972835fc8fa3ff9a740c0317cffd57eaee.tar.gz rails-8dc7ef972835fc8fa3ff9a740c0317cffd57eaee.tar.bz2 rails-8dc7ef972835fc8fa3ff9a740c0317cffd57eaee.zip |
Describing the reason for defining BlankTopic#blank? which will never be called
-rw-r--r-- | activerecord/test/models/topic.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |