Creating Passwords Through A Join Table Discussion
I like this solution more
@password = Password.new(password_params)
if @password.save
current_user.passwords << @password
Save 36% for Black Friday! Save 36% on GoRails for Black Friday! Learn more
You’re not receiving notifications from this thread.
I like this solution more
@password = Password.new(password_params)
if @password.save
current_user.passwords << @password