Day 38

August 27, 2018 17:37 UTC Team Barcelona Duo (Exercism) [2018]Subscribe to this teams's activities

The River and the Rock

"In the confrontation between the river and the rock, the river always wins... not by strength, but by perseverance."

We think that this quote summarizes our day today. Last week we were a bit disappointed that we had not resolved the issue that was assigned to us. While we did not manage to finish the issue today, we were able to uncover more pieces of the puzzle, and we feel we are getting closer to finding a solution.

We had a great session with our coach Javi today. We managed to log in as a mentor and see the mentor dashboard. This helped us understand how the code in the mentor dashboard works. It also helped us see that the notifications that a mentor receives through the platform are separate from the email notifications that a mentor receives when a new iteration to a solution is available. We learned how to use the rails console to create records in our local copy of the database. This was useful because it helped us see how notifications appear on the mentor dashboard. We also learned that FactoryBot helps create mock data for the tests to use.

We still need to process what we learned today, but we have formed a new hypothesis that we will be testing out tomorrow. We will be trying to

  1. Understand the files in services/creates_mentor_discussion_post.rb and services/creates_user_discussion_post.rb.
  2. Writing tests to test the changes that we make.
  3. Figuring out how to interact with factory bot to create mock data for our tests.

Honestly, the connection between the pieces is not super clear yet, but our enthusiasm is high. We are one step closer, and tomorrow we will have another chance to make another attempt.


You must be logged in to add a comment.