check against devise 3.4 and 3.2.2