wrong number of arguments (2 for 0..1) using first_or_create method <p>I'm trying to generate a set of users automatically in my app</p> <pre><code>email = 'me@example.com' generated_password = Devise.friendly_token.first(8) user = User.first_or_create({email: email}, {email: email, password: generated_password}) </code></pre> <p>I'm getting a <code>wrong number of arguments (2 for 0..1)</code> error</p> <p>What am I missing?</p>