diff --git a/lib/chili_project/compatibility.rb b/lib/chili_project/compatibility.rb index e369e63b71c8151be4845efb64999b2c8a3afbdc..ba119e0d2afc489e166a1d873192bf509a732e2c 100644 --- a/lib/chili_project/compatibility.rb +++ b/lib/chili_project/compatibility.rb @@ -30,5 +30,10 @@ module ChiliProject def self.using_jquery? false end + + # Catch-all to be overwritten be future compatibility checks. + def self.method_missing(method, *args) + method.to_s.ends_with?('?') ? false : super + end end end