app/models/devise_token_auth/concerns/mongoid_support.rb
# It's abstract replacement .find_by
It's abstract replacement .find_by
It ' s abstract replacement . find_by
def dta_find_by(attrs = {})
      find_by(attrs)
    rescue Mongoid::Errors::DocumentNotFound
      nil
    end
def dta_find_by ( attrs = { } ) find_by ( attrs ) rescue Mongoid :: Errors :: DocumentNotFound nil end
It's abstract replacement .find_by
It ' s abstract replacement . find_by
attrs
<not_specific>