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 -

mongodb - Multiple $and with multiple $or in $match mongoose -

Teradata TPT_INFRA: TPT02640: Error: Conflicting column count -