Tag Archives: Optimisation

Optimising specs for ActiveRecord scopes and other database-dependent functionality

After recently switching to a lower-performance laptop for my regular development tasks, I decided to spend a bit of time cleaning up some long-running rspec examples. I found that some misunderstanding of rspec’s features had led me to write highly inefficient specs.
Continue reading Optimising specs for ActiveRecord scopes and other database-dependent functionality