Heart of the ruby on rails magic in creating a very expressive and eloquent web development framework is the use of ruby’s method_missing.
Following is an example of method_missing in action :
class Roman
def romanToInt(str)
# ...
end
def method_missing(methId)
str = methId.id2name
romanToInt(str)
end
end

