Module: AuthActivity::User

Extended by:
ActiveSupport::Concern
Defined in:
app/models/concerns/auth_activity/user.rb

Constant Summary collapse

AUTH_ATTRIBUTES =
%w[email encrypted_password].freeze
FILTER_ATTRIBUTES =
%w[encrypted_password].freeze

Instance Method Summary collapse

Instance Method Details

#plausible_nameObject


12
13
14
# File 'app/models/concerns/auth_activity/user.rb', line 12

def plausible_name
  try(:full_name) || try(:name) || [try(:first_name), try(:last_name)].compact.join(" ")
end