我正在使用 Refinery 并希望对 RefineryUser 进行编辑。在架构文件中,我看到以下内容:
create_table "refinery_authentication_devise_users", force: :cascade do |t|
t.string "username", null: false
t.string "email", null: false
t.string "encrypted_password", null: false
t.datetime "current_sign_in_at"
t.datetime "last_sign_in_at"
t.string "current_sign_in_ip"
t.string "last_sign_in_ip"
t.integer "sign_in_count"
t.datetime "remember_created_at"
t.string "reset_password_token"
t.datetime "reset_password_sent_at"
t.datetime "created_at"
t.datetime "updated_at"
t.string "slug"
t.string "full_name"
end
但我找不到模型。如何找到模型,以便向 RefineryUsers 添加回调、验证和其他代码。我还可以添加 ActiveAdmin 并使炼油厂用户成为 activeadmin 用户。