SyntaxFix
Write A Post
Hire A Developer
Questions
I assume you called a function with an argument which was defined without taking any.
def f() puts "hello world" end f(1) # <= wrong number of arguments (1 for 0)