Rails 3,使用Devise,如何在事实之后添加:lockable?
我成功使用了 devise,但决定添加 :lockable 模块。我们的表称为“用户”。
我无法找到有关如何在完成初始设置后添加新的设计模块(或删除一个)的文档。
I am using devise successfully, but decided to add the :lockable module. Our table is called Users.
I cannot find docs on how to add a new devise module (or remove one) after doing an initial setup.
您应该能够在迁移中执行以下操作
它添加的字段是:
You should be able to do the following in a migration
The fields it adds are: