Use the method_missing function
class Classname def method_missing(method_name, *args) return "Your method #{method_name} was not found" end end