module Users::AuthenticationsHelper def authentication_provider_column(record, column) case record.provider when 'google_apps' ret = <<-DOC Google DOC ret.html_safe else record.provider.camelcase end end end