Where can I put this to override active_for_authentication?
def active_for_authentication? super && account_active? end
1) Location of file name and file.
2) how the full file will look .. with etc. class something <<devise: something
Original function active_for_authentication? the method can be found in dev / lib / devise / models / authenticatable.rb.
Thank you
user2012677
source share