The method you want to use is skip_reconfirmation!
(note the ‘re’ in reconfirmation).
@user = User.find_by_email('[email protected]')
@user.email="[email protected]"
@user.skip_email_changed_notification!
@user.save!
The method you want to use is skip_reconfirmation!
(note the ‘re’ in reconfirmation).
@user = User.find_by_email('[email protected]')
@user.email="[email protected]"
@user.skip_email_changed_notification!
@user.save!