active_for_authentication をオーバーライドするには、これをどこに置くのですか?
def active_for_authentication?
super && account_active?
end
1) ファイルの場所とファイル名。
2) 完全なファイルがどのように見えるか..など... class something < < devise:something
元の active_for_authentication? メソッドはdevise/lib/devise/models/authenticatable.rbにあります。
ありがとうございました