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

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -