Yep, open the rails console with rails c
, and do something like this:
UserEmail.create!(user: User.find_by_username("user1"), email: "user1@example.com")
Yep, open the rails console with rails c
, and do something like this:
UserEmail.create!(user: User.find_by_username("user1"), email: "user1@example.com")