我正在部署使用间隙宝石的Rails应用程序来Heroku。在开发中一切正常,但我遇到了我所获得的创建gem路线的麻烦。 当试图将部署到Heroku的,我得到的错误... ArgumentError: Invalid route name, already in use: 'sign_in'
You may have defined two routes with the same name
我试图让Clearance与AWS Dynamo一起作为后端商店。我遇到的问题是我无法通过而不是执行电子邮件唯一性验证,因为它无法通过SQL查询执行标准ActiveRecord唯一性验证,所以无法执行此操作。 据the comments in the code,我应该能有我User对象返回email_optional?true,并应禁用电子邮件的唯一性验证。所以,我有: class User <