Verify yourself to prove that you are not a ROBOT! After verification the page will apear. Thanks for understanding.
Using rails with devise. On user table I have email and a field record_status. Record status will contain 'active' or 'deleted'
What do I need to change to authenticate using email and record_status = 'active'.
i have this code in place.
in my user model
status = 'active'
where(:email => warden_conditions[:email], :record_status => warden_conditions[:status]).first
in my initializer devise.rb
config.case_insensitive_keys = [:email]
thanks for the help guys