wrong number of arguments in ruby 2.1.2