Rails 3.2: ArgumentError: mauvais nombre d'arguments (2 pour 1) sur Créer
-
06-11-2019 - |
Question
Essayant de créer une instance d'un modèle, j'obtiens l'erreur suivante ...
u = User.create
# or .where(...).first_or_create
# or .where(...).first_or_initialize
ArgumentError: wrong number of arguments (2 for 1)
Quelqu'un a-t-il le même problème avec Rails 3.2?
Pas de solution correcte
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow