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

Popular posts from this blog

javascript - Why Selenium can't find an element that is graphically visible -

java - How to compare two classes -

mysql - Gateway Timeout Error on Insert 70000 record using Hibernate in Java -