accommodate Devise for Rails 4.2.0.beta1