21 Jun 2016
Reading time ~2 minutes
What I Did
- Intern project weekly check in
- Design and Interns Q&A session regarding the reality of life after the collegiate bubble.
- Pairing with Eli to get myself started with actually writing unit tests with RSpec as well as to understand the nuances of git commands like the difference between rebasing and merging.
- Work on Haxxor-News: mostly confirming user activation and starting password reset.
What I Learned
- How object is the ancestor of everything in Ruby. Previously, RSpec called its functions on Object, which was viewed to be not the best idea, because that space is core Ruby. The current syntax works around this through the
expectmethod opposed to the dotted
gitkprovides for a nice visualization of a project’s git history.
- It may not be the best idea to run Puma locally, because today Eli discovered that I had 8 instances of Puma running and listening on port 3000, which apparently caused browser to show a blank page. I used
grepcommand is useful for searching outputted text of other commands.
- My text editor’s package search function is useful for locating git conflict markers.
- I should always consider when to use
git merge. Also, I should always only submit pull requests that tackle a single feature at a time.
What I Still Don’t Understand
- The difference between virtual attributes and actual database column attributes (when to use which)
- The benefits of factory girl over fixtures - exactly how much time is wasted using the later.
- Exactly which things I should focus on for testing (either unit tests or feature specs)
What I’m Interested in Learning
- Jeremy gave me a bunch of links to look up how to get up and running with basic FED stuff. I’m looking forward to sprucing up the look of Haxxor-News with some basic styling.