what is this error in ruby on rails? -
i'm sorry question. tks reading.
yes it's same, numbers tell expecting. if method below, 2 required arguments , 1 optional:
def test_method(arg1, arg2, arg3 = 1) // code end
if call following no arguments:
test_method
you see exact message. says either need give 2 or 3 arguments.
Comments
Post a Comment