Reports from the Field
Ignore RuboCop changes in Git BlameHide refactoring commits in git-blame by using .git-blame-ignore-revs
Write cleaner, self-documented tests by defining methods in RSpecWriting methods in RSpec lets us clean up our tests while improving their documentation value and isolation.
Understanding the Law of DemeterTalk to your neighbors, but don’t go into their garages—what is the Law of Demeter, how can we follow it in our code, and when should we make exceptions.
Avoid test delays and speed up your development cycle by mocking callbacksIt takes a bit more work to mock a method that has a callback block than one without, but it's worth it.
1 of 1