Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update mentorship area of user internal view #926

Merged
merged 2 commits into from Oct 15, 2018

Conversation

benhalpern
Copy link
Contributor

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Documentation Update

Description

Minor design tweaks of internal view

<h2> Possible Mentors </h2>
<% count = 0 %>
<% User.where(offering_mentorship: true).order("mentor_form_updated_at DESC").each do |possible_mentor| %>
<% break if count > 18 %>
<% User.where(offering_mentorship: true).where.not(mentee_form_updated_at: nil).order("mentor_form_updated_at DESC").each do |possible_mentor| %>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be menTOR_form_updated_at right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah good call

@benhalpern benhalpern merged commit dee58c0 into master Oct 15, 2018
@maestromac maestromac deleted the ben/update-mentorships branch October 15, 2018 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants