refactoring: before_save and is_new_record? => before_create