block by mrchrisadams 2961149

patch devise to be better, Chrir

devise_headers_for_patch.rb