fix for devise 3.x
Merge pull request #48 from bertBruynooghe/master

fix for devise 3.x