Devise `find_first_by_auth_conditions` method explanation

前端 未结 3 693
旧巷少年郎
旧巷少年郎 2021-01-27 04:14

My two methods using Devise:

Method1

def self.find_first_by_auth_conditions(warden_conditions)
  conditions = warden_conditions.dup
  wh         


        
3条回答
  •  旧时难觅i
    2021-01-27 04:52

    1. This deletes signin key from conditions hash and assigns its value to login local variable.

提交回复
热议问题