Learn to create test data effectively using factories. Decouple tests by having each test start with an empty database...
Best results in other decks
In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...
I often see the use of || to set a default value for a variable that might be nil, null or...