Migration to devise 3.1