Script to create a User - error on undefined method `reset_password='

For posterity: I believe I have solved this issue.