使用 devise 作为系统认证,前几天还能使用注册,今天就不行了。
输上邮箱,密码和二次确认的密码,注册报错。 如图:
后台显示的信息:
Started POST "/users" for 192.168.1.211 at 2018-03-14 13:57:43 +0800
Cannot render console from 192.168.1.211! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
Processing by Devise::RegistrationsController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"zlK5i56uk0NdvVy6AEctGhGpnaVyE6GhgNCINTQwwG5WfpxY9WPvEWtanHENl9XVyZGRXXV0GQcACB3wcEMpHQ==", "user"=>{"email"=>"[email protected]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "commit"=>"Sign up"}
(0.2ms) BEGIN
User Exists (0.4ms) SELECT 1 AS one FROM `users` WHERE `users`.`email` = BINARY '[email protected]' LIMIT 1
(0.2ms) ROLLBACK
Rendering devise/registrations/new.html.erb within layouts/application
Rendered devise/shared/_links.html.erb (1.1ms)
Rendered devise/registrations/new.html.erb within layouts/application (8.2ms)
Rendered layouts/_header.html.erb (2.3ms)
Rendered comments/_flashes.html.erb (0.5ms)
Rendered layouts/_footer.html.erb (0.3ms)
Completed 200 OK in 331ms (Views: 90.9ms | ActiveRecord: 0.8ms)
在网上查一那串报错信息:Please review the problems below:
好像是 simple_form 的报错信息,但再无其它资料表明原因。 各位给想想~