Tool Sharpening: Sept. 7, 2014
Sunday, 7 September, 2014 — development improvement
For some background on what’s going on here, see the first tool sharpening post
The time since my last entry was primarily spent reading blog posts and watching screencasts vs. writing code at home. I’m totally OK with that.
- Read up on Devise, CanCanCan and Clearance as authentication and authorization schemes
- Built an initial User model for New Project
- Read James Edward Gray II’s post, “Sleepy Programs” which will be useful for the Pomodori project I still need to finish up
- Then I reread it later on in the week
- Watched Ruby Tapas episodes:
- Reviewed entries in
vimtutor
- Reviewed posts on setting-up microservices
- Read entries from this week’s Ruby Weekly
- Installed
pry-byebug
- Made my first use of verifying doubles with RSpec 3
- This in particular helped me feel more comfortable just using a test double vs. the natural object out of laziness
- The test run for just this file in a larger suite went from 6.34 seconds to 0.01234 seconds
- This serves as a good reinforcement that when I’m unit testing, I should test message passing to objects not under test and not fully instantiate those objects with whatever they need to know about the state of the world
- Read up on changes to RSpec 3.1
- Listened to Ruby Rogues Ep. 171: “Evaluating Yourself”
- This episode helped me validate a project I’ve been thinking about building for a little while
- That totally means I need to wrap up the two projects I already have in-flight