app/helpers/admin/users_helper.rb
def user_summary(user)
    summary = []
    title_and_company = user_summary_title_and_company(user)
    summary << title_and_company unless title_and_company.blank?
    summary << t('pluralize.login', user.sign_in_count) if user.last_sign_in_at && user.sign_in_count.positive?
    summary << user.email
    summary << "#{t :phone_small}: #{user.phone}" unless user.phone.blank?
    summary << "#{t :mobile_small}: #{user.mobile}" unless user.mobile.blank?
    summary << user_summary_created_at(user)
    summary << user_summary_status(user)
    summary.join(', ')
  end
# User summary info for RSS/ATOM feeds.
#----------------------------------------------------------------------------
User summary info for RSS/ATOM feeds.
User summary info for RSS / ATOM feeds .
def user_summary(user)
    summary = []
    title_and_company = user_summary_title_and_company(user)
    summary << title_and_company unless title_and_company.blank?
    summary << t('pluralize.login', user.sign_in_count) if user.last_sign_in_at && user.sign_in_count.positive?
    summary << user.email
    summary << "#{t :phone_small}: #{user.phone}" unless user.phone.blank?
    summary << "#{t :mobile_small}: #{user.mobile}" unless user.mobile.blank?
    summary << user_summary_created_at(user)
    summary << user_summary_status(user)
    summary.join(', ')
  end
def user_summary ( user ) summary = [ ] title_and_company = user_summary_title_and_company ( user ) summary << title_and_company unless title_and_company . blank? summary << t ( 'pluralize.login' , user . sign_in_count ) if user . last_sign_in_at && user . sign_in_count . positive? summary << user . email summary << "#{t :phone_small}: #{user.phone}" unless user . phone . blank? summary << "#{t :mobile_small}: #{user.mobile}" unless user . mobile . blank? summary << user_summary_created_at ( user ) summary << user_summary_status ( user ) summary . join ( ', ' ) end
User summary info for RSS/ATOM feeds.
User summary info for RSS / ATOM feeds .
user