Describing the reason for defining BlankTopic#blank? which will never be called
This commit is contained in:
parent
0400139038
commit
8dc7ef9728
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue