rails build and devise