One step closer
Our day started with an early meeting. Every day we are filled with gratitude towards our mentors and coaches. We appreciate the pockets of time that they carve from their schedules to support our learning journey. This morning Jorge arrived to work early to dedicate some time to us. He gave a great overview of services and explained why they are used.
It is possible to have controllers that included methods with thousands of lines of code in them. However, extracting logic from the models and controllers makes your code easier to maintain, and it is easier to add functionality in the future if needed. We also discussed the issue we are currently trying to resolve and talked about the importance of being able to see the changes we make in the mailers.
After our meeting with Jorge, we spent the morning trying to see how we could preview the email sent to a mentor when a new iteration is available. One of the things we are really proud of is that we were able to work out how the
mentor_notification_mailer_preview.rb file works all on our own. We were also able to apply what we learned from our coach Nacho yesterday to create a new discussion post through the rails console. We were feeling puzzled because despite being able to piece together quite a few things, we still had not managed to see a preview of the email. Finally we reached out to our mentor Jeremy, who pointed us to the correct link, and we were able to preview our changes.
We finished the day summarizing what we learned and outlining the next steps we will take in order to solve the issue. The first thing we will do tomorrow is work on breaking the tests to see how the routes in the mailers are generated. Now that we can preview the outcome, it will get us one step closer to figuring out how to solve the issue.
One of the things we were both touched by is Jeremy's willingness to help and mentor us. We are incredibly lucky to be surrounded by such amazing and caring people who go beyond anything we could have ever expected. We have learned more in the last 2 months than we did in a year on our own. It is thanks to the dedication and support of our entire team that this has been possible.
You must be logged in to add a comment.