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
scroll top