ユーザー認証にソーサリージェムを使用しています。私のモデルは次のとおりです。
create_table "users", :force => true do |t|
t.string "email", :null => false
t.string "crypted_password"
t.string "salt"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.string "remember_me_token"
t.datetime "remember_me_token_expires_at"
t.string "activation_state"
t.string "activation_token"
t.datetime "activation_token_expires_at"
end
ユーザーを非アクティブ化するための組み込み関数があるかどうか、インターネットで見つけることができませんでした。ユーザーを見つけてパラメータを非アクティブに変更しても安全activation_state
ですか?