pre devise commit