Rails 3.2: argomentazione: numero sbagliato di argomenti (2 per 1) su Crea
-
06-11-2019 - |
Domanda
Cercando di creare un'istanza di un modello, ottengo il seguente errore ...
u = User.create
# or .where(...).first_or_create
# or .where(...).first_or_initialize
ArgumentError: wrong number of arguments (2 for 1)
Qualcuno ha lo stesso problema con Rails 3.2?
Nessuna soluzione corretta
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow