title: How to render only notes that equal date?
body: <p>Instead of showing all the notes per day, how can we only show one note per day, the note whose <code>note.note_date == date</code>?</p>
  
  <pre><code>Day 1: Notes/notes # Shows both Day 1 and Day 3 note. Only want to show Day 1 note
  Day 2: Notes/form
  Day 3: Notes/notes # Shows both Day 1 and Day 3 note. Only want to show Day 3 note
  Day 4: Notes/form
  Day 5: Notes/form
  </code></pre>
  
  <p><strong>challenges/show</strong></p>
  
  <pre><code>&lt;% @challenge.dates_challenged.first(@challenge.days_challenged).each_with_index do |date, i| %&gt;
    Day &lt;%= i + 1 %&gt;
    &lt;% if @notes.any? { |note| note.notes_date.strftime("%m/%d/%y") == date.strftime("%m/%d/%y") } %&gt;
      &lt;%= render 'notes/notes' %&gt;
    &lt;% else %&gt;
      &lt;%= render 'notes/form', :date =&gt; date %&gt;
    &lt;% end %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p><strong>notes/notes</strong></p>
  
  <pre><code>&lt;% @notes.each do |note| %&gt;
    &lt;%= note.notes_text %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p><strong>notes/form</strong></p>
  
  <pre><code>&lt;%= form_for [@notable, @note] do |f| %&gt;
    &lt;%= f.text_area :notes_text, placeholder: 'Enter Recap' %&gt;
    &lt;%= f.date_select :notes_date, selected: date, :order =&gt; [:month, :day, :year] %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p><strong>challenges_controller</strong></p>
  
  <pre><code>def show
    @notable = @challenge
    @notes = @notable.notes
    @note = Note.new
  end
  </code></pre>
  
  <p>To recap, a user creates a challenge. A challenge has the attribute <code>days_challenged</code>. The user chooses how many days will be challenged, i.e. 10, 15, 30, etc. For each of those days a <code>notes/form</code> will be rendered. If a <code>note.notes_date</code> equals a respective day then how can we only show that one note in place of <code>notes/form</code>?</p>